You need to sign in to do that
Don't have an account?
Trina Banerjee 22
how to pass flow variable into lightning component
I have a flow and a lightning component in it. My flow has a variable ObjectID that I want to pass to my lightning component and write a soql based on that variable.
I want to query all records under Portal_Dealer_Relationship__c where ID= ObjectID.
I dont know how to pass this variable and where to use the variable in the component for the SOQL.
Can anyone help please?
I want to query all records under Portal_Dealer_Relationship__c where ID= ObjectID.
I dont know how to pass this variable and where to use the variable in the component for the SOQL.
Can anyone help please?
Have you declared all the variables in the design bundle of your component that needs to be set through a flow?
For reference use this link :
https://www.jitendrazaa.com/blog/salesforce/embed-lightning-component-in-flow/
Cheers!!!!
Please refer to the following links
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_using_flow_inputs_get.htm
https://developer.salesforce.com/forums/?id=9060G0000005W7tQAE
https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/components_using_flow_inputs_set.htm
Thanks