Skip to main content
object

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

A recorded execution of a step in an automation run. Its diagnostics are read only when selected: select input, output, error, logs, condition, or conditionalOutput on at most five executions at a time.

•AutomationRunData

A condition execution's definition, from the automation version that the execution recorded, never the current version. The value is a flat list of nodes. Each node's kind is COMPARISON, LOGICAL_EXPRESSION, ARRAY_EXPRESSION, ENVIRONMENT_VALUE, or LITERAL_VALUE, and its uuid matches opId in conditionalOutput. The state is definition_unavailable when that version or its step is missing or, for a test run, when the definition doesn't compile or its compiled digest is missing or differs from the digest that the run recorded. For a test run, the field returns an access denied error, not a state, when the current permissions don't allow a test of the definition. The state is not_applicable when the execution isn't a condition. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•AutomationRunData

A condition execution's recorded observations, as a list of opId, iterationTrail, and output. The output is a string: the text of a scalar, or the JSON text of an object or an array. An operation can have several observations from list iterations. A missing observation isn't false. The state is too_many_results when the execution has more than 500 stored records, rollover copies included. The value is never truncated, and this field has no continuation. The state is checkpoint_changed when a record is newer than the execution's checkpoint. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•AutomationRunData

The execution's error as a summary, optional details, and causes: at most 10 error nodes, the root included, nested at most 10 levels deep. Causes beyond those limits are dropped and marked truncated. Exception classes and backtraces aren't returned. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•ID!
non-null

The ID of the recorded execution. It identifies the execution, not the step or an individual retry attempt, and only resolves under the run it came from.

•AutomationRunData

The execution's parsed input. A wait step's internal routing fields are removed. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•String

The execution's iteration trail, serialized as a JSON array.

•DateTime

The date and time of the execution's last checkpoint. This isn't when the execution started.

•AutomationRunData

The message that the execution recorded in its output. This isn't a run-wide log stream. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•AutomationRunData

The execution's parsed output. For a wait step, this is its hydrated continuation when it has one, without internal routing fields. Each execution that selects this field is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields
•AutomationStepRunStatus

The effective status of the execution at read time, including run cancellation and failed wait continuations.

Show enum values
•String

The ID of the step in the automation's configuration. Several loop executions can share it.

•String

The ID of the task that the execution recorded.

•String

The automation version that the execution ran on. A run can span versions after a wait step.


Was this section helpful?