Hands on 4 – calling an Apex class from Process Builder

Process Builder allows you to call an Apex class that includes methods annotated with @InvocableMethod. By calling an Apex class from Process Builder, you can add customized functionalities, such as auto-converting leads, deleting records, or running lead assignment rules. You can also pass a required value into Apex class variables.

When no other process actions can get your job done, by calling an Apex method, you can add customized functionality for your users. You can only call an Apex class from Process Builder or Visual Workflow that have the @InvocableMethod annotation. This means that it is possible to extend the Process Builder functionality by writing an Apex class that executes ...

Get Salesforce Process Builder Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.