+ Start a Discussion
Akis AthanasiadisAkis Athanasiadis 

Error on Edit override using flow

I have created a screen flow which is used to override the edit button using lightning component.
The debug of the flow does not conclude to any errors.

However, when  I go via the original object itself I do receive error.
"Update Fee
The flow couldn't find the "Get_Maintenance_Fee" resource."

The lightning component code:
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,lightning:actionOverride" access="global" >
	<aura:handler name="init" value="{!this}" action="{!c.init}" />
    <lightning:flow aura:id="flowId" />
</aura:component>

controller:
({
    init : function (component) {
        // Find the component whose aura:id is "flowId"
        var flow = component.find("flowId");
        // In that component, start your flow. Reference the flow's Unique Name.
        flow.startFlow("Update_Fee");
    }
})

​​​​​​​
 
Naveen KNNaveen KN
Are you referring to any component/resource in the name "Get_Maintenance_Fee" within your flow? check if that component exists in your sandbox.
Akis AthanasiadisAkis Athanasiadis
This is the first step of the flow=>
User-added image

If i remove the id equals recordId, then it does not show this error.