Skip to content

app.automation_run_steps

TableRow level security on

One action of an automation run (ADR 0047): the public API operation called as the owner, what was sent and answered, and how long it took. A retried run rewrites the step of the action that failed; finished steps are not run again.

Primary key: id

Columns of app.automation_run_steps
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.automation_runs on insert; never accepted from the caller and never changed.References app.organizations.id
automation_run_iduuidNoRun the step belongs to.References app.automation_runs.id
automation_action_iduuidYesAction the step ran, as it was defined when the run started.References app.automation_actions.id
positionsmallintNoPosition of the action in the automation, 1 first.
action_typeapp.automation_action_typeNoWhat the action does.
operation_idtextYesPublic API operation called, such as records.create.
step_statusapp.automation_step_statusNoSucceeded, Failed or Skipped.
request_bodyjsonbYesBody sent to the operation, with templates filled in from the event: a provider payload (ADR 0002).
response_bodyjsonbYesAnswer of the operation, trimmed to its identifying fields or the problem it reported: a provider payload.
http_statussmallintYesHTTP status the API answered; null when no answer arrived.
error_codetextYesRule code of the failure, such as the API refusal rule.
error_messagetextYesWhy the step failed, in words.
started_attimestamp with time zoneNoWhen the step started.
finished_attimestamp with time zoneNoWhen the step ended.
duration_msintegerNoMilliseconds the step took.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.