Variables

You can assign variables in a workflow by using an assign step or by assigning them as the result of a call step.

Assign step

Assigning a variable creates a variable in the current scope. If a variable with the same name already exists, it is overwritten.

There are two variable assignment steps:

  • Assign
  • Assign Multiple

Assign

The Assign step assigns a value to a variable.

Single Assign step

If the variable already exists, it'll be overwritten. If it doesn't exist, it'll be created.

Variable names must start with a letter or underscore, and must consist of only letters, digits, and underscores.

Assign Multiple

The Assign Multiple step assigns multiple values to multiple variables.

Multiple Assign step

Each item in the variables list is a key-value pair. The key is the name of the variable, and the value is the value to assign to the variable.