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
Saravana RavikumarSaravana Ravikumar 

Which annotation should I use to call an Apex method from a flow ?

VinayVinay (Salesforce Developers) 
Hi Saravana,

@InvocableMethod annotation allows the Flow to call the method.

Thanks,
Arun Kumar 1141Arun Kumar 1141
Hello Sarvana,

To call apex mthod from flows you have to annote it with @InvocableMethod.

Thanks.
cafije9 cafijecafije9 cafije
To call an Apex method from a flow, use the "Apex Action" annotation. It allows seamless integration between flows and Apex code. Simply annotate the method with @InvocableMethod to make it available in the flow.
Regards: seo services singapore
cafije9 cafijecafije9 cafije
To call an Apex method from a flow, use the "Apex Action" annotation. It allows seamless integration between flows and Apex code. Simply annotate the method with @InvocableMethod to make it available in the flow.
Regards: seo services singapore (http://https://www.mamba.agency/global-seo-services-in-singapore/)
 
sravani proddatur 10sravani proddatur 10
Hi Savarana,
@InvocableMethod annotation allows the Flow to call the method..nd The invocable method must be static and public or global, and its class must be an outer class.

Thanks