Skip to main content

workflowExecution

Get a workflow execution for an ID.

workflowExecution(
id: ID!
): WorkflowExecution

Arguments

workflowExecution.id ● ID! non-null scalar

Type

WorkflowExecution object

A workflow execution.

Example

Query a workflow execution with step-level details:

query {
workflowExecution(id: "1554") {
id
lifeCycleStatus
executionStatus
root {
id
name
resultState
startTime
endTime
outputs { key value }
children {
id
name
resultState
outputs { key value }
}
}
}
}

The root field returns the step execution tree. Use the recursive children field to traverse sub-steps. See Automation Examples for full field reference.