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
About the Author
About the Reviewers

Creating a collection variable

Collection variables are used to store multiple values of similar data types. For example, a group of e-mail addresses. Once you have populated a collection variable with values, you can use it throughout the Flow.

An example business scenario: Helina Jolly is working as a system administrator in Universal Container. Currently, she is developing a Visual Workflow and wants to create a variable to store customers' e-mail addresses to send out an e-mail to them.

To create a collection variable in 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 for you.

  3. Then navigate to the Resources tab, and double-click on Collection Variable available under the CREATE NEW section. It will open a window for you, where you have to enter the following details:

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