Skip to main content
Anchor to AutomationWorkflowRun

AutomationWorkflowRun

object

Requires write_automations 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.

•Boolean

Whether the run has failed steps or a failed trigger hydration, independent of its status. Returns null when 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.

•AutomationWorkflowRunKind!
non-null

Whether the run is a production run or a test run.

Show enum values
•DateTime

The date and time when the run's summary was last updated.

•DateTime

The date and time when the run started, if available.

•String!
non-null

Availability or resolution state. Valid values:

  • resolved: The run-level fields were read, even if workflowVersion is null.
  • 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.
  • errors_unknown: The read couldn't establish whether the run has errors, so hasErrors is null.
  • access_denied: The run's data isn't readable with the current permissions, so hasErrors is null.
•AutomationWorkflowRunStatus

The lifecycle status of the run. A completed run can still contain failed steps.

Show enum values
•ID!
non-null

The ID of the automation that the run belongs to. The ID is returned even if the automation was deleted.

•String

The automation version that the run started on, resolved from its earliest recorded step. Returns null when that version can't be established. It's never a later or current version.


Was this section helpful?

•query

Returns one production or test run of an automation, with its run-level fields. Returns null when no run with the ID exists or its automation isn't readable.

Show fields

Arguments

•ID!
required

The ID of the run.



Was this section helpful?