SVC_JOURNEY_EVENTS
This table logs significant steps taken during a customer’s journey such as visits, content views, SR creation etc. to enable reconstruction of the user’s support path for visualization and analysis.
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
SVC_JOURNEY_EVENTS_PK |
EVENT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| EVENT_ID | NUMBER | 18 | Yes | Auto-generated primary key. | |
| JOURNEY_ID | NUMBER | 18 | Yes | FK to SVC_CUSTOMER_JOURNEY. | |
| 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_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. | |
| DELETED_FLAG | VARCHAR2 | 1 | Yes | Logical delete flag (Y/N). | |
| SEQUENCE_ID | NUMBER | 9 | Yes | Event order within journey. | |
| EVENT_TYPE_ID | NUMBER | 18 | Yes | FK to SVC_JOURNEY_EVENTS_LOOKUP. | |
| EVENT_START_TIME | TIMESTAMP | Yes | Actual event start time. | ||
| SOURCE_SYSTEM | VARCHAR2 | 64 | Yes | Source system (DCS, CHAT, SR). | |
| REF_OBJ_ID | NUMBER | 18 | Referenced object id (e.g., SR_ID, KM doc). | ||
| REF_OBJ_TYPE | VARCHAR2 | 50 | Referenced object type (look up table). | ||
| REF_OBJ_ACTION | VARCHAR2 | 30 | Action (CREATE/UPDATE/VIEW) Look Up. | ||
| CHANNEL_ID | NUMBER | 18 | FK to SVC_CHANNELS. | ||
| SESSION_ID | VARCHAR2 | 128 | DCS/Web session identifier. | ||
| INTERACTION_ID | NUMBER | 18 | FK to SVC_INTERACTIONS. | ||
| INGESTED_FLAG | VARCHAR2 | 1 | Yes | Whether ingested to SVC_JOURNEY_STAGE_TRANSITIONS table (Y/N). |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| SVC_JOURNEY_EVENTS | svc_customer_journey | JOURNEY_ID |
| SVC_JOURNEY_EVENTS | svc_jrny_events_lookup | EVENT_TYPE_ID |
| SVC_JOURNEY_EVENTS | svc_channels_b | CHANNEL_ID |
| SVC_JOURNEY_EVENTS | svc_interactions | INTERACTION_ID |
| svc_jrny_transitions | svc_journey_events | FROM_STAGE_ID |
| svc_jrny_transitions | svc_journey_events | TO_STAGE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| SVC_JOURNEY_EVENTS_N1 | Non Unique | Default | JOURNEY_ID, EVENT_START_TIME |
| SVC_JOURNEY_EVENTS_N2 | Non Unique | Default | EVENT_TYPE_ID |
| SVC_JOURNEY_EVENTS_N3 | Non Unique | Default | SOURCE_SYSTEM |
| SVC_JOURNEY_EVENTS_N4 | Non Unique | Default | REF_OBJ_TYPE, REF_OBJ_ID |
| SVC_JOURNEY_EVENTS_PK | Unique | Default | EVENT_ID |
| SVC_JOURNEY_EVENTS_U1 | Unique | Default | JOURNEY_ID, SEQUENCE_ID |