Get workflow execution status
workflow_statusCheck the current state and result of a workflow execution by providing its execution ID. Poll until the workflow reaches a terminal status to retrieve the final output.
Instructions
Get the current state and result of a workflow execution.
Statuses: RUNNING | COMPLETED | FAILED | CANCELED | TERMINATED | CONTINUED_AS_NEW | TIMED_OUT | RETRYING_AFTER_ERROR
Poll until status is COMPLETED (or terminal) when waitForResult was false.
result is populated once the workflow reaches a terminal state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| executionId | Yes | Execution ID from workflow_execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_name | Yes | ||
| execution_id | Yes | ||
| root_execution_id | Yes | ||
| status | Yes | ||
| result | No | ||
| start_time | Yes | ||
| end_time | Yes | ||
| total_duration_ms | No |