Book Image

Learning Salesforce Visual Workflow

By : Rakesh Gupta
Book Image

Learning Salesforce Visual Workflow

By: Rakesh Gupta

Overview of this book

Table of Contents (14 chapters)
Learning Salesforce Visual Workflow
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a Constant


A Constant is used to store a fixed value. A constant value can't be changed throughout the execution once it has been assigned a value. You can use the Constant all over your Flow, for example, while creating a record, performing an update, or with delete operations.

A business scenario: Alice Atwood is working as a system administrator in Universal Container. Currently, she is developing a Visual Workflow and wants to create a Constant that can be used to store an organization's name.

To add a Constant to your Flow, follow these instructions:

  1. Navigate to Setup | Build | Create | Workflow & Approvals | Flows.

  2. Click on the New Flow button; it will open the Flow canvas.

  3. Then navigate to the Resources tab and double-click on Constant, available under the CREATE NEW section, as shown in the following screenshot:

  4. This will open a window for you where you have to enter the following details:

    • Unique Name: Enter a unique name. The name must begin with a letter and use only alphanumeric...