
Enabling Conditional
To enable conditional for a step:- Click the step’s options menu (⋮)
- Click
Add Conditional
- Enter a condition that determines whether the step should run
Conditional Expression
- A JavaScript expression that evaluates to a boolean value
- Must return
true
orfalse
- Cannot contain async operations
Common Expressions
Invalid Expressions
- Async operations
- Function declarations
- Complex logic blocks with if/else
Step Skip Handling
When a step is skipped due to a conditional evaluating tofalse
, subsequent steps need to handle this gracefully when accessing the output of the skipped step.