SVC_OMNI_ENGAGEMENTS

Table to hold the different attributes of an engagement.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: svc_omni_engagements

Primary Key

Name Columns

SVC_OMNI_ENGAGEMENTS_PK

ENGAGEMENT_ID

Columns

Name Datatype Length Precision Not-null Comments
ENGAGEMENT_ID VARCHAR2 32 Yes Unique identifier of the Engagement across tenants. It will be a random generated uuid.
STATUS_CD VARCHAR2 30 Current status of the engagement.
QUEUE_ID NUMBER 18 The id of the queue that the engagement is associated with. Foreign key that references SVC_QUEUES(QUEUE_ID).
WORKING_STATUS_CD VARCHAR2 30 Lookup code that indicate the current involvement of the agent in this engagement.
CHANNEL_TYPE_CD VARCHAR2 30 Yes Lookup code that indicates the channel type.
OBJECT_TYPE_CD VARCHAR2 30 Lookup code that indicates the object type of OBJECT_ID, such as Service Request, SR Message, Chat, etc..
OBJECT_ID VARCHAR2 255 Yes Unique id of the business object associated with this engagement.
STRIPE_CD VARCHAR2 30 Lookup code that indicates the stripe code, such as CRM or HCM.
TITLE VARCHAR2 255 SR Title or Initial Question incase of Chats.
ENDED_REASON_CODE_CD VARCHAR2 30 Lookup code that indicate the reason due to which this engagement ended.
CHANNEL_INTEGRATOR_ID NUMBER 18 Identifier of the channel integrator.
CONVERSATION_ID NUMBER 18 Conversation ID to associate Engagements with a single Conversation. Foreign key that references SVC_OMNI_CONVERSATIONS(CONVERSATION_ID).
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.

Indexes

Index Uniqueness Tablespace Columns
SVC_OMNI_ENGAGEMENTS_N1 Non Unique SVC_OMNI_ENGAGEMENTS_N1 QUEUE_ID
SVC_OMNI_ENGAGEMENTS_N2 Non Unique SVC_OMNI_ENGAGEMENTS_N2 CHANNEL_TYPE_CD
SVC_OMNI_ENGAGEMENTS_N3 Non Unique SVC_OMNI_ENGAGEMENTS_N3 OBJECT_ID
SVC_OMNI_ENGAGEMENTS_N4 Non Unique SVC_OMNI_ENGAGEMENTS_N4 CONVERSATION_ID
SVC_OMNI_ENGAGEMENTS_PK Unique SVC_OMNI_ENGAGEMENTS_PK ENGAGEMENT_ID