Record Actor Assignments
This table has 1 row per mapping for users assigned to prospects, accounts and opportunities
Column | Type | Definition | Sample Value(s) | Sample Use |
---|---|---|---|---|
ACTOR_ID | Varchar | User who was assigned to the record | ||
ASSOCIATION_TYPE | Varchar | Whether the user was assigned as an assignee or an owner | Null for Assigned, 'owner' for Owner | |
BENTO | Varchar | A collection of machines that power the Outreach app. Orgs live inside these. | This may distinguish orgs that are in different data centers. | |
DML_AT | Timestamp_NTZ | A datetime (local to server) in which the row was last modified. dml_at can be used to identify updated and new records, but as tables may not see changed records every day, it is not authoritative on when the table was last synced. | 2019-01-01 12:14:01:10 | Where dml_at::date >= current_date-7 This will return all rows modified in the last 7 days. |
DML_TYPE | Varchar | The type of manipulation that last occurred to a row. | 'update', 'delete', 'insert', 'backfill', 'backfill-delete' | Where dml_type <> 'delete' Excludes deleted rows. |
IS_DELETED_IN_APP | Boolean | Is the latest dml_type "delete" or "backfill-delete". | Where is_deleted_in_app = false Only keeps undeleted rows. | |
BENTO | Varchar | A collection of machines that power the Outreach app. Orgs live inside these. | This may distinguish orgs that are in different data centers. | |
ID | Varchar | Unique id per row | ||
O_ID | Varchar | Outreach instance unique identifier | ||
RECORD_ID | Varchar | Record to which the user was associated | ||
RECORD_TYPE | Varchar | Type of record to which the user was associated | 'Prospect', 'Opportunity', 'Account' | |
SURROGATE_ID | Varchar | An md5 hash of bento, o_id and ID for a table. | This can be used to get distinct counts of records if an account has more than 1 org instance. Two orgs will both have a prospect with ID of "1" but each will have a different surrogate ID. |