wait_workflow
Pauses execution until a specified workflow completes or changes, using revision tracking to ignore stale events and a configurable timeout to control wait duration.
Instructions
Event-driven wait for the entire workflow. Reuse after_revision to suppress old completions. Default 60s; up to 300s only when the client request timeout exceeds wait_ms. Cancellation stops waiting, not workers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_ms | No | ||
| wake_on | No | completion | |
| workflow_id | Yes | ||
| after_revision | No |