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.
You can create variables for your workflow by completing the following steps:
- Navigate to Configuration > Workflow and select your workflow type from the list.
- Select show in list view
in the upper right.
- Click the workflow.
- Click Edit
.
- When the workflow is in edit mode, select the Variables tab
.
- Click ADD VARIABLE.
- Specify the Variable name and the Data type.
When you create a workflow variable, it appears in queries as {{WFVariables.Variable_name}}
.
Note
Unlike the workflow variable, which is a dynamic variable, you can also use static variables in workflows in the form of a global variable. Just follow the steps in Global settings to create a global variable. You can use the following syntax {{GlobalSettings['variable_name']}}
to add a static variable. You can add a static variable to the Information, Params, Headers, Body, and Response tab of an API block in Advanced Mode. You can also add a static variable to a text field in an Update Block, the Message tab of a Notification or Approval block, or in the Connect page of an extended integration.
Comments
0 comments
Please sign in to leave a comment.