AutomationWorkflowVersion
Type: Object
A workflow is a directed acyclic graph (DAG) of interconnected tasks that can be executed in parallel or sequentially. Each node in the workflow represents either a Function call or a system operation (logic, conditions, transformations).
Workflows provide:
- Visual drag-and-drop workflow building
- Asynchronous and resumable execution
- Complex branching and conditional logic
- Integration with the Lua function ecosystem
- Real-time execution monitoring
- Error handling and retry logic
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| active | Boolean! | Indicates whether the workflow is active | ||
| createdAt | DateTime! | |||
| edgeCount | Int | |||
| edges | [WorkflowEdge!] | The edges in this workflow | ||
| id | ID! | |||
| inputSchema | JsonString | JSON schema defining the expected input structure | ||
| nodeCount | Int | |||
| nodes | [WorkflowNode!] | The nodes in this workflow | ||
| outputSchema | JsonString | JSON schema defining the expected output structure | ||
| retryPolicy | AutomationRetryPolicy! | Retry configuration for failed executions | ||
| tagString | String | |||
| timeoutSeconds | Int | Maximum execution time in seconds before timeout | ||
| updatedAt | DateTime! | |||
| version | Int! | Version number of the workflow | ||
| viewport | AutomationViewport! | Visual editor viewport configuration (zoom, pan) | ||
| workflow | AutomationWorkflow | The workflow this version belongs to | ||
| workflowExecutions | [WorkflowExecution!]! | filter: WorkflowExecutionFilterInputlimit: Intoffset: Intsort: [WorkflowExecutionSortInput] | Execution history for this workflow | |
| workflowId | ID! | The ID of the workflow this version belongs to |