ExitAWS Step Functions: task integration and completion signals1 / 9
Explanation

Choose the event that completes the task

How workflows coordinate service calls and external work through request responses, job completion, callbacks, and activity workers, including waiting for and routing human approval outcomes. · advanced

A task's integration pattern determines what Step Functions considers completion. With Request Response, specifying the service resource alone makes the workflow wait for the service's HTTP response and then advance. That response does not mean that a submitted job has finished.

Run a Job keeps the task waiting until the integrated job completes. Wait for a Callback with Task Token instead passes a token to a service and waits for that token to be returned with a payload. The service response and the later completion signal are different events.

For human approval, delivering the request is not the approval itself. A callback task can wait for the later outcome; a Request Response task does not provide that wait. Express Workflows support only Request Response integrations, so they cannot implement a wait-for-callback approval task.

PatternTask advances afterWhat that establishes
Request ResponseService HTTP responseCall has responded
Run a JobIntegrated job completionJob has finished
CallbackToken returned with payloadExternal completion reported

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.