Skip to content

A workflow declared asynchronous cannot be launched and waited on

Asking to wait for a result the workflow has already said it will not deliver inline is a mistake worth catching before anything runs.

The rule

Normative: this is the rule
  1. A launch requesting a synchronous wait against a workflow declared asynchronous MUST be refused with 422 before any execution is created, so that no run is started and nothing is left behind.
  2. The refusal MUST carry the error code ASYNC_DECLARED.
  3. How a launch requests a synchronous wait is implementation-defined until a rule defines it.

Why

Recorded under OPEN-25, OPEN-49.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · MAN-19 · changed in spec 1.1