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
Force.platformForce.platform 

Call Apex method

How to call an Apex class / method from Salesforce Visual Workflow?
Gopal ChatGopal Chat
Hi,
this link will help you

https://help.salesforce.com/articleView?id=vpm_designer_elements_apex.htm&type=5
Raj VakatiRaj Vakati
Refer thislinks

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_forcecom_visualworkflow_vars.htm
https://help.salesforce.com/articleView?id=vpm_designer_elements_apex.htm&type=5
https://andyinthecloud.com/2014/10/26/calling-flow-from-apex/
https://www.absi.digital/en/articles/dev-zone/salesforce-visual-flow-plug-ins-apex
MUHAMMED SEMIN P NMUHAMMED SEMIN P N
Hello,

Using @InvocableMethod annotation, a method can be called from Salesforce Visual Workflow,
This annotation lets us mark an Apex method as being something that can be called from somewhere other than Apex. 
You can also use the Process.Plugin interface to do the same.
please go through these links:
http://acknowledgecloud.blogspot.com/2017/07/salesforce-invoke-apex-from-visual-flows.html (https://www.absi.digital/en/articles/dev-zone/salesforce-visual-flow-plug-ins-apex)
https://www.absi.digital/en/articles/dev-zone/salesforce-visual-flow-plug-ins-apex
https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_apex.htm
https://automationchampion.com/tag/call-an-apex-method-from-flow/

hope this will help you, if it solve your problem please mark it as a best answer
Thanks,