Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Salesforce Process Builder Quick Start Guide

You're reading from   Salesforce Process Builder Quick Start Guide Build complex workflows by clicking, not coding

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher
ISBN-13 9781789344318
Length 170 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Rakesh Gupta Rakesh Gupta
Author Profile Icon Rakesh Gupta
Rakesh Gupta
Arrow right icon
View More author details
Toc

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 your business logic, and then invoking the Apex from your process. If the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image