Skip to content

app.automation_conditions

TableRow level security on

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.

Primary key: id

Columns of app.automation_conditions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.automations on insert; never accepted from the caller and never changed.References app.organizations.id
automation_iduuidNoAutomation the condition belongs to.References app.automations.id
parent_condition_iduuidYesGroup the condition sits in; null for a top-level condition or group.References app.automation_conditions.id
positionsmallintNoOrder within its parent, 1 first.
group_matchapp.automation_matchYesFor a group: all or any of the conditions under it. Null for a condition.
fieldtextYesPath into the event, such as data.record_kind or subject.table. Null for a group.
operatorapp.filter_operatorYeseq, ne, lt, lte, gt, gte, in (comma-separated values), is_null (true or false) or contains. Null for a group.
value_texttextYesValue 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_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.