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
AbAb 

Calling a webservice function from Process builder

Hello,

I want to call a webservice method.
When a picklist is changed.

I have written a webservice class as XYT_WS
and fucntion name is PQR().

What can do to call XYT_WS.PQR() from a process builder

Thank you in advance for suggestions
Best Answer chosen by Ab
ismailismail

Hi Sandrine,

You can call it from inside an @invocable method, you can find further details in this blog;

http://salesforceworld4u.blogspot.com/2015/05/how-to-call-apex-class-from-process.html
or 
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm