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
Pause the workflow until an external system respondsWait for an external signal
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.