Book Image

Learning Salesforce Visual Workflow and Process Builder - Second Edition

By : Rakesh Gupta
Book Image

Learning Salesforce Visual Workflow and Process Builder - Second Edition

By: Rakesh Gupta

Overview of this book

Salesforce Management System is an information system used in CRM to automate the business processes like sales and marketing. To implement this, developed a powerful tool called Visual Workflow to automate business processes by creating applications also called Flows. Learning Salesforce Visual Workflow, Second Edition is a practical guide on Flows that will enable you to develop custom applications in Salesforce with minimized code usage. The book starts with an introduction to Visual Workflows that teaches all the building blocks of creating Flows and use it efficiently. You will learn how to easily automate business processes and tackle complex business scenarios using Flows. The book explains the working of the Process Builder so you can create reusable processes. The book also covers how you can integrate existing or newly created Flows with the Salesforce Lightening Experience. By the end of the book, you will get a clear understanding on how to use Flows and Process Builder in your organization to optimize code usage.
Table of Contents (9 chapters)

Hands on 2 - using custom labels in Process Builder

Custom labels are custom text values that can be accessed from Apex, Visual Workflow, Process Builder, and so on. The values can be translated into any language that Salesforce supports. You can create up to 5,000 custom labels in an organization, and they can be up to 1,000 characters in length. Custom labels are not only used for translation, but they can also be used to store the username, password, and endpoint URL in the case of invoking API calls for a third-party system.

For example, if you are integrating two systems, Salesforce and SAP, to sync the account information, to start the API calls, you have to pass SAP integration user credentials and an endpoint URL. You have three options to store these values:

  1. Hardcoding credentials and endpoint URL in an Apex class.
    1. Using multiple custom labels to save the username, password, and endpoint URL.
      1. Custom...