Saltar al contenido

app.automation_conditions

TablaSeguridad a nivel de fila activa

One condition of an automation, or a group of conditions (ADR 0047). A condition compares a path of the event with a value using an API filter operator (ADR 0003); a group combines the conditions under it with all or any. Groups nest one level.

Clave primaria: id

Columnas de app.automation_conditions
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.automations on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
automation_iduuidNoAutomation the condition belongs to.Hace referencia a app.automations.id
parent_condition_iduuidSíGroup the condition sits in; null for a top-level condition or group.Hace referencia a app.automation_conditions.id
positionsmallintNoOrder within its parent, 1 first.
group_matchapp.automation_matchSíFor a group: all or any of the conditions under it. Null for a condition.
fieldtextSíPath into the event, such as data.record_kind or subject.table. Null for a group.
operatorapp.filter_operatorSíeq, ne, lt, lte, gt, gte, in (comma-separated values), is_null (true or false) or contains. Null for a group.
value_texttextSíValue compared, as text; null for is_null meaning true, and for a group.
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.