Execute a workflow synchronously
Executes a workflow and waits for it to complete before returning the result
Body
The name of the workflow to execute
The payload to send to the workflow
(Optional) The workflowId to use. Must be unique
The catalog (Temporal task queue) to route the execution to. Falls back to the default catalog.
Deprecated alias for catalog. If both are sent, catalog wins.
(Optional) The max time to wait for the execution, defaults to 30s
Response
The workflow result
- Option 1
- Option 2
Current workflow result with direct output and memo-based trace information
Workflow result response version
2 The workflow execution id
The specific run id for this execution
The workflow execution status
completed, failed, cancelled, terminated, timed_out, continued_as_new The original input passed to the workflow, null if unavailable
Direct workflow output, null if no output is available
Available destinations for trace data
Structured error details captured from the workflow or activity failure