A workflow calls an external approval service and should continue only after approval.
Do not waste a polling loop while the approval is pending.
Which automation approach is most appropriate?
Use a Step Functions callback Task Token and resume the state machine with SendTaskSuccess or SendTaskFailure.
Detailed explanation
Polling adds load, duplicate checks, latency, and cost instead of a completion signal.
Polling adds load, duplicate checks, latency, and cost instead of a completion signal.
The loop consumes runtime, cost, and timeout budget and is difficult to recover.
The loop consumes runtime, cost, and timeout budget and is difficult to recover.
Object lifecycle events are not approval-service completion signals.
Object lifecycle events are not approval-service completion signals.
The external service receives a token and explicitly signals completion to resume the workflow.
The external service receives a token and explicitly signals completion to resume the workflow.
Check official documentation
Compare the following points with the official documentation.
AWS Step Functions callback with task token、SendTaskSuccess、SendTaskFailureの公式説明を確認する。
What to confirm
ポーリングとコールバック型ワークフローの違いを説明できる。
Key points
- Task Token
- Callback
- SendTaskSuccess
- External approval
Notes
- Environment: AWS公式DEA-C01試験ガイドと各サービスの公式ドキュメントの確認
- Confirm current AWS service behavior in the official DEA-C01 documentation.
Foundation review
Token protection
Limit who can use a token, handle expiration, and reject duplicate callbacks.
Correlation
Keep approval ID, requester, and workflow execution linked in audit records.