Skip to content

Scenarios ​

Task-based guides for common patterns. Each page answers "I want to…" directly with the minimal code needed.

I want to…Guide
Define states and wire transitions in sequenceDefine a sequential flow
Run multiple steps at the same timeRun steps in parallel
Escalate or auto-cancel a step after a delayAdd deadlines and escalation
Pause the workflow until an external system respondsWait for an external signal
Run a side effect when a state is entered or leftRun side effects on enter/exit
Block a transition unless a business rule passesAdd guards to transitions
Persist a workflow instance and resume it laterSave and restore state

For complete runnable examples that combine multiple patterns, see Examples.

Released under the MIT License.