跳转到主要内容
comet runtime dispatch reads a request file and returns structured results. A host can retain the same Run across processes and continue the current Action or user Wait.

Invocation

Use the complete package on the first call:
Use the application identity and original Run afterward:
Do not hand a Run to a different application identity or create another Run to repeat an external operation.

Common requests

A start request includes runId, workflow id/version, and business input. Action and Wait requests use the identities you actually read; do not guess them or reuse an outdated proposal.

Execution and waiting

Outputs are checked against Schemas, business validators, and application artifact contracts. completed means the declared path has ended. Read the actual business result as well: a report may have been published or may have ended along a rejection branch.

Integration boundaries

JSON requests do not load unregistered host capabilities or obtain user authorization. Supply credentials through the host execution context; do not put them in request files or persisted results. When an external result is unknown, query the original executor and external system before reporting or retrying based on evidence. See SDK recovery. For a complete report template, see Workflow Application.
最后修改于 2026年10月22日