Architecture Design and Implementation Built for the Cloud

An approval workflow must pause for up to three days until an external approval service reports a decision, then continue from the waiting step. Which design meets this requirement without repeatedly polling?

Show the answer

Correct answerA. Use a Standard Workflow with a callback task token.

AWhy this is right: A callback task durably pauses a Standard Workflow until the external service returns the task token.

BWhy not this: A Lambda invocation cannot remain running for three days; its maximum execution time is 15 minutes.

CWhy not this: A fixed Wait state responds to elapsed time, not the arrival of an external approval decision.

DWhy not this: Express Workflows do not support callback task tokens and have a maximum duration of five minutes.

A Standard Workflow can durably wait for an external service to return a task token through a callback. A fixed Wait state resumes on a timer rather than when the approval decision arrives.