Dynamic Variables Types

Dynamic Variable TypeDescription
StepsStep-related variables include status, outputs, or results from previous workflow steps.
Local variableVariables that are created within the workflow using the Set Variable action
FilesVariables that represent files used in the workflow, including file paths, sizes, and identifiers.
Global variablesVariables defined within a Workspace and accessible across the entire workspace. Global variables can be Raw value or Secret.
MetadataMetadata variables provide workflow-related information:
  1. The of the current workflow
  2. A to the current workflow
  3. The
  4. The associated
  5. The that the workflow belongs to
  6. The
  7. A to the current execution
  8. The at which execution began
  9. The of the user who started the execution
  10. the current user is a member of
Input Parameters- Only available in On-demand workflowsThese are values defined when triggering an On-demand workflow.
Event payload- Only available in On-demand workflowsThis refers to the data received from the triggering event in an Event-based workflows. When an event occurs, it generates specific data that is passed into the workflow, enabling it to execute the necessary actions based on the event’s details.

Adding Dynamic Variables in Workflows

There are two ways distinct way in which you can add dynamic variables to input parameters throughout Workflows

Using the Variable Picker to Add Dynamic Variables

NOTE

When using the same dynamic variable in multiple steps with different value types, the variable will always take the value type from the last step where it was set. The first value type will be overwritten by the second one.

1

Access the Variable Picker

Click the button in the parameter field where you want to use a variable.

2

Search for a Specific Variable

In the Variable Picker, type to search for a specific variable.

3

Select the Desired Variable

Select the desired variable. It appears in the picker’s headline.

4

View the Variable Tag in the Step Field

The variable tag is displayed in the step field.

5

Workflow Executes and Replaces the Tag

When executed, the workflow replaces the tag with the actual value.

Referencing a Key in a JSON Object

If a workflow step outputs a JSON object, you can reference a specific key:

1

Click the desired key in the JSON output.
2

The value copies to your clipboard.
3

Paste the value into another step where needed.

Using Expression Language with Dynamic Variables

The Dynamic Variables can also be added manually using expression language syntax. Blink’s expressions language is based on the Expr library package. Anything supported by ‘Expr’ also works in Blink.

  1. To see the supported syntax to manually add a Dynamic Variable to a worlflow input, click here
  2. Functions can be added to Dynamic Variables or Static Variables. To see the supported syntax of adding Functions to Dynamic Variable, click here
  3. Operators can be added to Dynamic Variables or Static Variables. To see the supported syntax of adding Operators to Dynamic Variables, click here

Recommendations and Limitations

  • Avoid reusing the same dynamic variable in multiple steps with different value types; the last assigned type takes precedence.
  • Ensure the workflow is correctly structured to prevent missing values in dynamic variables.