Quick Decision Rule: When An order fulfillment workflow requires multi-step branching, retries with exponential backoff, Saga rollback on payment failure, and visual audit state, choose AWS Step Functions (Standard for long-running auditable workflows up to 1 year; Express for high-rate short event processing).
| Trigger Condition | An order fulfillment workflow requires multi-step branching, retries with exponential backoff, Saga rollback on payment failure, and visual audit state |
|---|---|
| Recommended Choice | AWS Step Functions (Standard for long-running auditable workflows up to 1 year; Express for high-rate short event processing) |
| Classic Trap | Chaining 8 Lambda functions via ad-hoc SQS queues hides workflow state, complicates compensating rollbacks, and makes debugging stuck orders painful. |
| Verification | Audited on 2026-11-23 · Guide v1.1 (2026-10-29) |
30-SECOND DECISION TRAP CHECK · RESILIENCE
A loan approval workflow coordinates 6 microservices, pauses up to 7 days waiting for a human compliance callback, retries transient API errors, and must run compensating rollbacks if funding fails. Which service orchestrates this best?
Step Functions Standard Workflows run up to 1 year, natively wait for callback task tokens without paying for idle compute, and manage retries/rollbacks visually.
Trap: Lambda has a 15-minute max timeout and cannot sleep waiting for multi-day human approvals.