+ Start a Discussion
Trina Banerjee 22Trina 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? 
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Trina

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 :