Scenario
Refund invoice INV-4491 for a customer inside the refund window.
State machine
The active node advances only when the previous step emits a successful transition.
plan→
retrieve→
act→
verify→
approve→
done
Event log
Append-only trace — the artefact you hand to an auditor or a human taking over.
Run the orchestration to stream events.