Set Variable
Set Variable
The Set Variable flow element creates or updates a variable that can be referenced later in the flow.
This is useful for storing values like flags, counters, or dynamically generated text for use in conditional logic or file paths.
Variable
The name of the variable to set.
- Supports variable substitution using
{VariableName}syntax - The resolved name must:
- Start with a letter (
a-z,A-Z) or underscore (_) - Contain only letters, numbers, underscores (
_), and dots (.) - Not start with a digit or a dot
- Not contain spaces or special characters
- Start with a letter (
✅ Examples of valid names:
flagcount.totalresult_{StepNumber}→ becomesresult_2ifStepNumber=2