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
imrohitimrohit 

Hello Developers, How to provide multiple screen input of lightning flow to apex input parameter

I have three inputs in the flow screen and I am calling invocable apex from the flow since invocable apex accept only one input parameter so can you  please suggest me how can I sent my all three inputs to the apex as list of string so that there I can use them accordingly

Thanks in advance

Best Answer chosen by imrohit
imrohitimrohit
I found the solution 
thanks for the blogger for explaining very well
http://acknowledgecloud.blogspot.com/2017/07/salesforce-invoke-apex-from-visual-flows.html

All Answers

Khan AnasKhan Anas (Salesforce Developers) 
Hi Likesh,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/156426/how-to-pass-more-than-one-parameter-for-invocable-methods-and-collect-the-return/205360

https://salesforce.stackexchange.com/questions/63653/does-invocationmethod-accepts-only-1-liststring-datataype-parameter-for-proce

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
imrohitimrohit
I found the solution 
thanks for the blogger for explaining very well
http://acknowledgecloud.blogspot.com/2017/07/salesforce-invoke-apex-from-visual-flows.html
This was selected as the best answer