Automation Workflow Run
Requires access scope. Also: The app must have write access to automations and act on behalf of a user.
A production or test run of an automation.
Anchor to FieldsFields
- hasErrors (Boolean)
- id (ID!)
- kind (AutomationWorkflowRunKind!)
- lastUpdated (DateTime)
- startedAt (DateTime)
- state (String!)
- status (AutomationWorkflowRunStatus)
- workflowId (ID!)
- workflowVersion (String)
- Anchor to hasErrorshas•Boolean
Errors Whether the run has failed steps or a failed trigger hydration, independent of its status. Returns
nullwhen the bounded check couldn't establish the answer.- •ID!non-null
The opaque ID of the run. It identifies the run, not an individual retry attempt.
- Anchor to kindkind•Automation
Workflow Run Kind! non-null Whether the run is a production run or a test run.
Show enum values
- Anchor to lastUpdatedlast•Date
Updated Time The date and time when the run's summary was last updated.
- Anchor to startedAtstarted•Date
At Time The date and time when the run started, if available.
- Anchor to statestate•String!non-null
Availability or resolution state. Valid values:
resolved: The run-level fields were read, even ifisnull.ambiguous: The run's records conflict, so its run-level fields couldn't be resolved.incomplete: The bounded read ended before the run could be resolved.: The read couldn't establish whether the run has errors, soisnull.: The run's data isn't readable with the current permissions, soisnull.
- Anchor to statusstatus•Automation
Workflow Run Status The lifecycle status of the run. A completed run can still contain failed steps.
Show enum values
- Anchor to workflowIdworkflow•ID!
Id non-null The ID of the automation that the run belongs to. The ID is returned even if the automation was deleted.
- Anchor to workflowVersionworkflow•String
Version The automation version that the run started on, resolved from its earliest recorded step. Returns
nullwhen that version can't be established. It's never a later or current version.
Anchor to QueriesQueries
- automationWorkflowRun (AutomationWorkflowRun)
- •query
Returns one production or test run of an automation, with its run-level fields. Returns
nullwhen no run with the ID exists or its automation isn't readable.Show fields
- •ID!required
The ID of the run.
Arguments
- •ID!