Add a new variable that can be used in flows.
- Click the Variables tab.
- Click Add New Variable.
- In the Name field, enter a name for the variable.
-
In the Variable Context list, select a context in which
the variable is shared:
- Flow Instance Context: The variable has one value for each instance of each flow.
- User Context: The variable has one value for each user. The user must be identified.
- Company Context: The variable has one value for the company, across all flows and users.
Note:A variable with a flow context can only be created within a flow by using the Variables connector. After you create a flow context variable, you can edit its value in the Variables tab.
- Optional: In the Description field, enter a description for the variable.
-
In the Data Type list, select a data type:
- String
- Boolean
- Number
- Object
- In the Value field, enter an initial value for the variable.
-
Click the Mutable toggle to allow nodes within a flow to
change the value of the variable.
You can trace the expected value of a variable through the nodes of your flow to help you decide whether the variable should be mutable or not.
- Optional: In the Min field, enter a minimum value for the variable.
- Optional: In the Max field, enter a maximum value for the variable.
- Click Create.