Skip to main content

Step

Step is a key building block of background execution.

  • Basics — typed input, the WaitFor/Execute lifecycle, and simple Step decisions
  • Waiting — Condition combinations and reading Condition results after WaitFor
  • Step decision — movements, close decisions, output, cancellation, and forceCompleteIfChannelsEmpty
  • Step options — timeout, retry, failure policy, durability, heartbeat, and StepOptions override per StepExecution

For a first Flow, read the pages in this order: Basics, Waiting, Step decision, then Step options.

Runnable samples live under examples/go, examples/java, examples/python, examples/typescript, and examples/rust.