Saltar al contenido

app.automations

TablaSeguridad a nivel de fila activa

Automations (Section 7.3, Section 4.5.6 item 20, ADR 0047): when a domain event of the trigger type happens in the org and the conditions hold, the actions run as the owner through the public API. Written only through app.save_automation and its sibling RPCs; readable by holders of org.automations.write.

Clave primaria: id

Columnas de app.automations
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
nametextNoName shown in Settings, Automations.
descriptiontextSíWhat the automation is for.
trigger_event_typetextNoDomain event type that starts a run, from the event catalog webhooks use (private.domain_event_types).Hace referencia a private.domain_event_types.code
condition_matchapp.automation_matchNoall when every top-level condition must hold, any when one is enough.
owner_person_iduuidNoPerson the actions run as: whoever last changed what the automation does or turned it on.Hace referencia a app.people.id
enabledbooleanNoTrue while new events start runs.
paused_attimestamp with time zoneSíWhen the engine turned the automation off because a run could not act as the owner (fail closed); null otherwise.
pause_reasontextSíWhy the engine paused it, a rule code such as owner_left_org, owner_lost_capability or owner_access_refused.
failure_notified_attimestamp with time zoneSíWhen the owner was last told a run failed, so failures notify at most once an hour.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.