When you create a workflow block, you have the option to add a new workflow variable. This variable can be set within a workflow and the value of these variables can be received and passed from one workflow block to another.
Creating a workflow variable
You can create variables for your workflow by completing the following steps:
- Navigate to Configuration > Workflows and create a workflow.
- When the workflow is in edit mode, select the Variables tab in the sidebar .
- Click ADD VARIABLE.
- Specify the Variable name and the Data type.
Unlike the workflow variable, which is a dynamic variable, you can also use static variables in workflows in the form of a global variable. Refer to Using global variables in workflows.