An incident workflow must request external approval, wait up to 48 hours without running compute, and then remediate or escalate; the approval service can return a correlation token through an authenticated integration. Which design provides durable execution history and timeout handling with the least custom orchestration?
Show the answer
Correct answerA. Use a Standard Workflow with an SQS callback task and a Catch transition for approval timeouts.
AWhy this is right: A Standard callback task waits without running compute, retains execution history, and supports timeout-based escalation.
BWhy not this: Lambda duration and SQS visibility limits prevent one invocation from waiting for the entire approval window.
CWhy not this: A Lambda invocation cannot wait for 48 hours; polling also consumes compute while awaiting approval.
DWhy not this: Express Workflows do not support callback task integrations and cannot run for 48 hours.
Step Functions Standard Workflows support durable, long-running executions and callback tasks that pause until a task token is returned. A task timeout can route to escalation through Catch. Express Workflows do not support callback integrations and have a five-minute execution limit.