Examples
This section contains some example workflows, including common patterns.
| Example | What it shows |
|---|---|
| Thumbnails and a manifest | Fan-out with TolerateFailures, WithSkipOnFailure, WithOptional, and the three different costs a step’s failure can have |
| Checkout with compensations | The compensation stack, idempotent handlers, per-step retry policies, and the partial-rollback outcome |
| Tenant provisioning | Waiting on an event, conditional steps, a parallel group of child workflows, capabilities, and suspend |
The handlers assume an object store, a payments provider, and a cloud API that you will have your own versions of.