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 ...

Get Learning Salesforce Visual Workflow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.