function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vaibhab ShahVaibhab Shah 

Passing values to Lightning flow

Hi,
I have a custom lightning component with 2 searhable controls to Account and Contact. There is a button named save. On clicking the save, I have to pass the selected values from lightning component to the lightning flow.    
Can anyone help me with this    requirement?      

Rgds,
Vai.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Vibhab,

As mentioned on another question you have posted regarding the same requirement, can you try checking the link once that is posted.

https://www.biswajeetsamal.com/blog/invoke-flow-from-lightning-component-with-input-variables/

I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be useful for others in the future.

Regards,
Anutej
Vaibhab ShahVaibhab Shah
Hi Anutej,

Link shared by you is not matching with the requirement I am looking for. Can you please post relevant to the requirement so that I can mark it as best answer.

On clicking the button, flow will be invoked by passing 2 values selected by the user. 

Rgds,
Vai.