Skip to main content

Workflow Variables

The Sequential Workflow Editor enables you to establish variables that can be utilized by the workflow steps. In the editor, variables are organized into scopes, following a similar pattern as most programming languages. When a variable is defined in the parent scope, it can be accessed in the child scope, but not vice versa.

Restrictions

The variable name must be unique according to variable scope.

|_ if (defines $x) ✅
|_ if (defines $x) ❌ $x is duplicated
|_ step2 (uses $x) ✅
|_ if (defines $x) ✅
|_ step1 (uses $x) ✅
|_ if (defines $x) ✅
|_ step2 (uses $x) ✅

The variable name must satisfy the following regular expression:

^[a-zA-Z_][a-zA-Z0-9_]*$

The variable name cannot be longer than 32 characters.