Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Salesforce Visual Workflow and Process Builder

You're reading from   Learning Salesforce Visual Workflow and Process Builder Flows and automation for enhanced business productivity

Arrow left icon
Product type Paperback
Published in May 2017
Publisher
ISBN-13 9781787284999
Length 448 pages
Edition 2nd Edition
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

Table of Contents (9) Chapters Close

Preface 1. Getting Started with Visual Workflow FREE CHAPTER 2. Creating Flow through Point and Click 3. Manipulating Records in Visual Workflow 4. Debugging and New Ways to Call a Flow 5. Developing Applications with Process Builder 6. Building Efficient and Performance Optimized Processes 7. Building Applications without Code 8. Enabling Flows to Work with Lightning Experience

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 functionality such as, auto-converting leads, deleting records, or running lead assignment rules from Process Builder. You can also pass the required value into Apex class variables.

When no other process actions can get your job done, by calling an Apex method, you add customized functionality to 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 class contains one or more invocable variables, then you have to manually enter values...

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 €18.99/month. Cancel anytime