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
AchyuthAchyuth 

How to call an apex class from visual flows ?

Hi All,
Can anyone help !!
How to call an apex class from Visual flows (@invocable method) ... 
MagulanDuraipandianMagulanDuraipandian
Check this https://help.salesforce.com/articleView?id=vpm_designer_elements_apex.htm&type=5
Raj VakatiRaj Vakati

Developers have two options when they’re trying to make an Apex class available for a flow.


1 .  Process.Plugin interface 

2.  @InvocableMethod Annotation 

Refer this link 

https://help.salesforce.com/articleView?id=vpm_designer_elements_apex.htm&type=5

https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_apex.htm

https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_distribute_system_apex.htm
AchyuthAchyuth
Yes, Thanks for the reply Raj and Magulan... Actually i am new to flows.  From flows side how to use this code ... what is the process to go forward.. Can anyone help the step process
Raj VakatiRaj Vakati
Refer this links 


https://andyinthecloud.com/2014/10/26/calling-flow-from-apex/

https://developer.financialforce.com/customizations/salesforce-flow-tool/

https://www.absi.digital/en/articles/dev-zone/salesforce-visual-flow-plug-ins-apex
https://github.com/douglascayers/sfdc-process-invocable
https://opfocus.com/hustle-salesforce-flows-2/