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
Deepak Goyal 14Deepak Goyal 14 

APex code with process builder

Hi,

How to access apex class method form process builder, I want to access apex class function by process builder but ,i am not able to access my class function.

Please suggest.

Thanks
Deepak 
Best Answer chosen by Deepak Goyal 14
mukesh guptamukesh gupta
Hi Deepak,

I think you are missing @InvocableMethod in your apex , that is necessary to accees apex class from process builder.

Please follow this url :-
https://automationchampion.com/2015/07/09/getting-started-with-process-builder-part-33-call-an-apex-method-from-a-process/

if you need any assistance then please let me know!!1

Kindly mark my solution as the best answer if it helps you.

Regards
Mukesh



 

All Answers

mukesh guptamukesh gupta
Hi Deepak,

I think you are missing @InvocableMethod in your apex , that is necessary to accees apex class from process builder.

Please follow this url :-
https://automationchampion.com/2015/07/09/getting-started-with-process-builder-part-33-call-an-apex-method-from-a-process/

if you need any assistance then please let me know!!1

Kindly mark my solution as the best answer if it helps you.

Regards
Mukesh



 
This was selected as the best answer
MagulanDuraipandianMagulanDuraipandian
Use invocable annotation in the apex cal..

http://www.infallibletechie.com/2016/08/invocable-method-in-salesforce.html
farukh sk hdfarukh sk hd