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 from custom lightning component 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,

I found this implementation that shows a way to call a flow from lightning component and passing values to this flow, can you try checking this link once:

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