Skip to content

app.party_threads

TableRow level security on

Org-level conversations between an org and an external person or account, beyond any one engagement (Section 11.10 habit 8). The party reaches them while it holds an engagement with the org in the engagement area or an application to one of its opportunities.

Primary key: id

Columns of app.party_threads
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg side of the conversation.References app.organizations.id
party_person_iduuidYesExternal person on the other side; NULL for an account conversation.References app.people.id
party_organization_iduuidYesExternal account on the other side; NULL for a person conversation.References app.organizations.id
subjecttextNoThread subject.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
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