An approval workflow must retain execution history, wait up to 48 hours for an external reviewer, and retry transient service errors. Which design meets these requirements with the LEAST custom orchestration code and no polling?
Show the answer
Correct answerD. Use a Standard Workflow with a callback task and configured retry policies.
AWhy not this: Express Workflows have a five-minute limit, and checking after a wait introduces polling.
BWhy not this: A polling Lambda task violates the no-polling requirement and cannot run continuously for 48 hours.
CWhy not this: Express Workflows cannot run for 48 hours and do not support callback tasks.
DWhy this is right: A Standard Workflow can wait for an external callback, retain history, and retry transient task failures.
A Standard Workflow supports long-running executions, retained execution history, retries, and callback tasks that pause until a task token is returned. Express Workflows have a five-minute execution limit and do not support the callback integration pattern.