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
Harry Training DepartmentHarry Training Department 

calling lightning flow from process builder

Hi Team,

While calling lightning flow builder from process builder, what are the parameters and how should it be passed?

Many Thanks in advance for all your help and support!
Raj VakatiRaj Vakati
Start an autolaunched flow from your process to automate complex business processes. Create flows to perform logic and have events trigger the flows via processes without writing code.


And from your process builder you need to pass the flow input variable to the flow  .. let suppose your flow is accepting a name  of the record then you need to pass the name from the process builder 


refer this links for more info 

https://trailhead.salesforce.com/en/content/learn/modules/business_process_automation/business_process_automation_combined
https://automationchampion.com/tag/launch-a-flow-from-process-builder/
https://automationchampion.com/tag/call-flow-from-process-builder/
https://douglascayers.com/2016/10/31/how-to-invoke-process-builder-from-flow/
https://www.rightpoint.com/thought/2016/03/20/using-process-builder-and-an-auto-launched-visual-flow-to-create-and-or-update-existing-records
sssssssssssssssssssssss ssssssssssssssssssssssss s
Thanks. Also I want to access the Record Id type name of the object & filter based on it. How to go about it?
Many Thanks in advance!
Raj VakatiRaj Vakati
You can able to do it when you are invoking the  process builder .. you can check the process builder entry criteria based on the record type 
Harry Training DepartmentHarry Training Department
I would like to know how to access Record Id type name of the object in Spring 19' released Lightning Flow builder.

Many Thanks in advance!
Ajay K DubediAjay K Dubedi
Hi Harry,
For calling a lightning flow from process builder you should do somewhat the following:
1. Open your desired process builder and add an immediate action where the type is Flows.
2. Then for the Flow select your desired flowname.
3. Under Set Flow Variables, add your flow variables.
For more details please go through: https://trailhead.salesforce.com/en/content/learn/modules/business_process_automation/business_process_automation_combined
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Harry Training DepartmentHarry Training Department
Thanks but, I would like to know how to access Record Id type name of the object in Spring 19' released Lightning Flow builder.

Many Thanks in advance!