AutomationQu Query

getExecution

Topics: Workflows

Fetch a single workflow execution by ID. Requires workflow:read permission.

Returns

WorkflowExecutionState

Arguments

Execution ID to fetch

Examples

Read Prepress Execution

query ReadPrepressExecution($id: WorkflowExecutionID!) {
  getExecution(id: $id) {
    id workflowId versionId status cancellationRequested
    startedAt completedAt output waitingNodeId
    steps { nodeId nodeName status output error }
  }
}

Variables

{
  "id": "wfx_000000c48h848r248h248h248h"
}
Exact field SDL
"""
Fetch a single workflow execution by ID. Requires workflow:read permission.
"""
getExecution(
  """Execution ID to fetch"""
  id: WorkflowExecutionID!
): WorkflowExecutionState @topic(names: ["workflows"]) @topic_example(names: ["prepress.read-execution"])

Declared on Query. Access is checked by the platform for each operation.