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
Steve ConnellySteve Connelly 

How to launch a flow within a modal window

Working in lightning. I have built a lightning component where i am able to open a modal window by having a user click on an image in the component as if it were a button.

So far, so good. 

What I need to do is launch a flow in that modal window when it opens and then have the modal close when the user clicks the finish button in the flow.

I have the flow name as well as the url, just not sure how to make it launch when the modal opens.

Any thoughts, suggestions, resoruces out there?

Thanks much,
Steve
Best Answer chosen by Steve Connelly
Steve ConnellySteve Connelly
Thanks Nagendra. I had already seen this article and it did not quite get me where i needed to be.

I was able to get this issue resolved with some excellent support from Deepak Anand on the Salesforce Success site though.

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Steve,

Sorry for this issue you are facing.

May I suggest you please refer to below link with a similar discussion which might help you further. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
Steve ConnellySteve Connelly
Thanks Nagendra. I had already seen this article and it did not quite get me where i needed to be.

I was able to get this issue resolved with some excellent support from Deepak Anand on the Salesforce Success site though.
This was selected as the best answer