Appearance
WorkflowExecutionState
Type: Object
A single execution instance of a workflow
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| completedAt | ISO8601 | Completion timestamp (ISO8601) | ||
| currentWave | Int! | Current execution wave (parallel step group) | ||
| durationMs | Int | Execution duration in milliseconds | ||
| error | WorkflowExecutionErrorOutput | Error details (if failed) | ||
| id | WorkflowExecutionID! | Unique identifier | ||
| input | String! | Input variables as JSON | ||
| output | String | Output variables as JSON (if completed) | ||
| startedAt | ISO8601! | Start timestamp (ISO8601) | ||
| status | ExecutionStatus! | Current execution status | ||
| steps | [WorkflowExecutionStepState!]! | Execution steps. Requires workflow:read permission. | ||
| tenantId | TenantID! | Tenant ID | ||
| totalWaves | Int! | Total number of waves in the workflow | ||
| trigger | WorkflowTriggerState | Trigger that started this execution. Requires workflow:read permission. | ||
| triggerType | TriggerType! | How the execution was triggered | ||
| version | WorkflowVersionState | Workflow version used. Requires workflow:read permission. | ||
| versionId | WorkflowVersionID! | Workflow version ID being executed | ||
| waitingNodeId | String | Node ID that is waiting for a signal (when status is waiting) | ||
| workflow | WorkflowState | Parent workflow. Requires workflow:read permission. | ||
| workflowId | WorkflowID! | Workflow ID being executed | ||
| workflowName | String | Workflow name at query time (optional) |