You need to sign in to do that
Don't have an account?
san5aug
value of input parameter of Lightning component is null when passing through Flow builder
I have a lightning component on Flow screen. We are passing 2 input parameter in lightning compoment from Flow. while debugging the flow, I can see that value of recordId is fine but requestId is getting null. Flow variables are available for input/output. and I am passing values of these attributes in lightning component. Am I doing something wrong? Please help.
just to remove any doubt of initializing the refernce of recordid in LC, I created a brand new attribute in LC and Flow. Flow attribute has a value but when I pass this to LC, it becomes null.
just to remove any doubt of initializing the refernce of recordid in LC, I created a brand new attribute in LC and Flow. Flow attribute has a value but when I pass this to LC, it becomes null.
<aura:component implements = "force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction,lightning:availableForFlowScreens" access="global" controller = "VendorDetailCtrl" > <aura:attribute name="recordId" type="String" /> <aura:attribute name="requestId" type="String" /> </aura:component>
<design:component> <design:attribute name="recordId" label="OpportunityId" /> <design:attribute name="requestId" label="Erip Request Id" /> </design:component>
Please check whether you are getting any values in the requestId field value in flow or not
Please check you have included this field in RecordQury Elements ..
https://blogs.absyz.com/2018/03/06/lightning-components-as-flow-screens/
https://rajvakati.com/2018/04/01/__trashed-24/
https://developingflow.com/2018/06/11/lightning-components-in-flow/