Workflow Variables
Workflow variables are dynamic components that help you define and create custom types of data inputs that can be used in Workflow activities. These variables can hold different types of information such as text, numbers, dates, boolean values, or complex structured data (JSON) to store and manage data dynamically throughout the execution of Workflow processes.
Follow the steps below to define Workflow variables
- Navigate to the required Workflow on which you intend to introduce the variables.
- Navigate to the Variables tab under the Setup panel to access the variables. This will open the variable modal, allowing you to define and manage your variables.
- In the variable modal, click on the Add button to start defining a new variable.
- Provide a descriptive name for your variable. This name indicates the purpose of the variable.
- Choose the appropriate type for your variable from the available options
- Number For numerical values.
- String For text-based values.
- Boolean For true or false values.
- Date For date values.
- JSON For structured data in JSON format.
- Depending on the selected variable type, input the value
- For a boolean variable, select either True or False.
- For a date variable, use the calendar picker to choose a date.
- For a number variable, enter the numerical value directly.
- For a string variable, input the desired text.
- For a JSON variable, enter the JSON structure or array.
- After defining the variable and its value, click on the Save button to add the variable to your Workflow.
- To delete a specific variable, click on the associated Delete icon.