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.
Navigate to Setup | Build | Create | Workflow & Approvals | Flows.
Click on the New Flow button; it will open the Flow canvas.
Then navigate to the Resources tab and double-click on Constant, available under the CREATE NEW section, as shown in the following screenshot:
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...