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
The workflow execution id
The specific run id for this execution
The original input passed to the workflow, null if unavailable
The result of workflow, null if workflow failed
An object with information about the trace generated by the execution
The workflow execution status
completed, failed, canceled, terminated, timed_out, continued Error message if workflow failed, null otherwise
Structured failure details if the workflow failed, null otherwise