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
Nitin SehgalNitin Sehgal 

Can we call an apex invocableMethod from ProcessBuilder

Hello Everyone,

Can we call a @invocableMethod(which is a part of managed package) from Processbuilder.
As I didnot find any detail about this in Processbuilder documents.

I am actually planning to have an invocableMethod in my managed packaged but not sure wether it can be called from outside the package from ProcessBuilder?

Thanks in Advance
SonamSonam (Salesforce Developers) 
Yes, you can call an invokable method from Process builder, check the thread for related info:
Nitin SehgalNitin Sehgal
Hi Sonam, I know we can call it from Process builder. What I am asking is, can we call an invocalble method which is inside the managedPackage and we need to call that from Process builder(from outside Managed Package)?

Does all the salesforce edition supports @InvocableMethod?
I believe the Invocable method must have been defined wth global scope to allow it to be referenced by flows outside the managed package.

If the scope of the Invocable method is public then it can be referenced only by flows within the same managed package.