WorkflowExecution
Type: Object
A workflow execution represents a single runtime instance of a workflow. Executions are asynchronous and resumable, allowing for long-running processes that can survive system restarts and continue from where they left off.
Each execution tracks:
- Current status and progress
- Input and output data
- Execution timing and performance metrics
- Error handling and retry attempts
- Individual step results
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| completedAt | DateTime | When the execution completed | ||
| completedStepCount | Int | |||
| contextData | JsonString! | Additional context data for the execution | ||
| createdAt | DateTime! | |||
| currentNodeId | String | ID of the currently executing node | ||
| durationSeconds | Int | |||
| errorDetails | JsonString | Error information if the execution failed | ||
| executionSteps | [WorkflowExecutionStep!]! | filter: WorkflowExecutionStepFilterInputlimit: Intoffset: Intsort: [WorkflowExecutionStepSortInput] | Individual step executions | |
| id | ID! | |||
| inputData | JsonString! | Input data provided to the workflow | ||
| isActive | Boolean | |||
| outputData | JsonString | Final output data from the workflow | ||
| pausedAt | DateTime | When the execution was last paused | ||
| priority | Int! | Execution priority (higher numbers = higher priority) | ||
| progressPercentage | Int! | Execution progress as a percentage (0-100) | ||
| resumedAt | DateTime | When the execution was last resumed | ||
| retryCount | Int! | Number of times this execution has been retried | ||
| startedAt | DateTime | When the execution started | ||
| status | String! | Current execution status | ||
| stepCount | Int | |||
| tags | [String!]! | Tags for categorizing and filtering executions | ||
| triggeredBy | User | User who triggered this execution | ||
| triggeredById | ID | |||
| updatedAt | DateTime! | |||
| workflowVersion | AutomationWorkflowVersion! | The workflow version being executed | ||
| workflowVersionId | ID! |