Set Variable

Use the Set Variable activity to set value to a variable. You can modify the value of the variable based on your requirement or according to a flow.

Note

Specify the type of variable you wish to select. For more information, see Custom Flow Variables and Predefined Variables.

The following sections enable you to configure the Set Variable activity:

General Settings

Parameter

Description

Activity Label

Enter a name for the activity.

Activity Description

(Optional) Enter a description for the activity.

Variable Settings

Parameter

Description

Variable

Choose the variable from the drop‐down list. Only Custom Flow variables can be set to custom values. Predefined Variables have fixed values as dictated by the flow execution.

Variable Value

Click the Set Value radio button to set the variable to a specific value. The input field type changes based on the data type of the selected variable. To learn more about variable data types, see Create Custom Flow Variables.

If the value is a string, you can enter basic text or an expression.

To enter an expression, use the {{variable}} syntax.

Click the Set to Variable radio button to set the variable value to the value of another variable in the flow. Choose a variable from the drop‐down list. All variables in the flow are available for selection.