Back to gallery
Durable workflows
Start a multi-step workflow and watch its steps run.
Live
workflows.start + defineWorkflow / step.* - 1pendingvalidate-input run
guard the input
- 2pendingthink sleep
step.sleep(1500ms)
- 3pendingcharge-card run
call payments
- 4pendingsettle sleep
step.sleep(1500ms)
- 5pendingfulfil-order run
ship the order
Start a run to watch each step flip to completed, with the durable sleeps in between.