+ Start a Discussion
Priya MishraPriya Mishra 

apec class is not showing in the process builder

Hi All,

I have created a apex class with @InvocableMethod to perfrom the action thorugh the process builder but the apex class is not showing in the process builder can you please suggest why. 
Kindly check the below image.

Thanks.User-added image
Best Answer chosen by Priya Mishra
Tintu_BabuTintu_Babu
These aspects are considered right ?
The invocable method must be static and public or global, and its class must be an outer class.
Only one method in a class can have the InvocableMethod annotation.

All Answers

Tintu_BabuTintu_Babu
Hi,

Can you please try this
1) close Process Builder 2) go to Setup / Develop / Apex Classes and click "Compile all classes" ​3) go to your process and select your class
Priya MishraPriya Mishra
Thanks,

 but I have complied also but still not able to find the class.
Tintu_BabuTintu_Babu
These aspects are considered right ?
The invocable method must be static and public or global, and its class must be an outer class.
Only one method in a class can have the InvocableMethod annotation.
This was selected as the best answer
Priya MishraPriya Mishra
Thanks for the reply.
i have reched all the above mentioned points and Now i can see the class.
 
Priya MishraPriya Mishra
Thanks for the reply.

I have rechecked with all the above mentioned points and now i can see the class.
Tintu_BabuTintu_Babu
You are welcome.
If the answer found useful kindly mark it as solved so others can benefit from that.