Skip to main content
Return StepOutput(stop=True) from a custom step to skip the remaining workflow steps.
The workflow records the stopping step’s output and does not start later top-level steps. Steps, Condition, Router, and Loop propagate stop=True from nested steps. Other branches in a Parallel may already be running when one branch requests a stop. Workflows early stop diagram

Developer Resources