Creating the building blocks of Flow
In Chapter 1, Getting Started with Visual Workflow, we discussed the building blocks of Flow; for example, Flow elements, Flow resources, and Flow connectors. Before going ahead, you will first learn to create variables in Flow, and then we will discuss the other building blocks in upcoming chapters. The few building blocks we are going to discuss here are as follows:
- Creating a variable
- Creating a collection variable
- Creating an SObject Variable
- Creating an SObject Collection Variable
Creating a variable
A variable is used to store a value. You can use the variable throughout your Flow; for example, while creating a record, performing an update, or with delete operations.
Here is business scenario: Robby Williams is working as a system administrator for Universal Containers. Currently, he is developing a Visual Workflow and wants to create a variable to store customer names.
To create a variable in your Flow, follow these instructions:
- Navigate to
Setup
|Build...