In the Column List:
- P = Primary key
- M = Mandatory field
- F = Foreign key
- In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.
This table records the changes in the UserData attribute of TEvents associated with voice calls, the UserData attribute of Interaction Server events for all types of multimedia interactions, and the isOnline attribute of events associated with chat sessions. In addition, ICON may record the change history of the Reasons and Extensions attributes of voice interactions as well as any other attributes of an interaction that are not recorded in the G_CALL_HISTORY and the G_PARTY_HISTORY table, if configured to gather data from T-Server or Interaction Server.
One prerequisite is that ICON must be able to determine that such data is associated with a specific interaction and that this association is known at runtime. ICON's writing to this table is also determined by the setting of one or more configuration options in the [filter-data] section.
Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.
|ID||numeric(19)||X||X||The unique, autonumbered ID of this record. This is the primary key.|
|CallID||varchar(50)||X||This field points to the record in the G_CALL table that represents the call to which the data is attached.|
|PartyID||varchar(50)||This field points to the record in the G_PARTY table that represents the last party, associated with the interaction or endpoint, who added, changed, or deleted the data. Any one of the following attributes can be the source of attached data:
With a change in the data in AttributeUserData and upon receipt of AttachedDataChangedEvent, then PartyID is defined by the ThirdPartyDN attribute, if any exists. Otherwise, this field is empty.
|EndPointID||int||This field contains the DBID of the endpoint where data was added, changed, or deleted. If the data was taken from the event that caused the creation of the respective call, then this is the first party that created in the call. If the data was taken from the AttachedDataChangedEvent, then the party is defined by the ThirdPartyDN attribute, if any exist. Otherwise, this is the party that is defined by the ThisDN attribute (if any). For the rest of changes, the party is defined by the ThisDN attribute.|
|EndPointDN||varchar(255)||The device number that is associated with the data.|
|AgentID||int||This field contains the DBID of the agent who changed the data. This is the agent who logged into the endpoint that is associated with the data change (if this information is available in the run time).|
|SwitchID||int||This field contains the DBID of the Switch object that owns the endpoint that is associated with the change. If the EndPointID field is NULL, then so is the field SwitchID, and vice versa.|
|KeyName||varchar(64)||X||This is the KeyName field. It records the name of the user data key that changed its value. The user determines which keys should be recorded by specifying them in ICON's configuration of user data.|
|ChangeType||int||X||This field specifies the type of change that caused the record to appear in the table. One of the following values:
|KSeq||int||X||The sequential number of the change of the value of the specific key associated with the call. The changes of a key are numbered separately for every call that the key is associated with. Numbering starts with 1.|
|CSEQ||int||X||The actual CSEQ in the call scope at the moment ICON is processing this data record. It should be consistent with the CSeq value in the G_PARTY_HISTORY table. For additional information, refer to the description of the CSeq field in the G_PARTY_HISTORY table.|
|Type||int||X||The type of the data source: extensions, reasons, or attached (user) data. One of the following values:
|KEYID||int||X||The ID of the key name, as defined in the attached data specification file (adata_spec.xml). Valid values for the KeyID are bigger than 10000 but smaller than 100000. If the KeyID is not defined, the value of this field is zero (0). The KeyID is not unique: different KeyNames can have the same KeyID. You can use the KeyID to build indexes to improve data querying by downstream reporting applications.
|Value||varchar(1024)||For voice interactions, this field contains the value of the key in character format.
|Added||datetime||The GMT-equivalent date and time when the key was changed as inherited from T-Server (or other data provider).|
|Added_ts||int||This UTC-equivalent value of the ADDED field.|
|Added_tcode||int||A reference, derived from the ADDED_TS field, to a record in the G_TIMECODE table.|
|GSYS_DOMAIN||int||Contains the data source session ID (DSS_ID) for the session that was active when the data was processed by ICON. For more information, see the description in System Fields (for DB2, Microsoft SQL Server, Oracle, or PostgreSQL, respectively).|
|GSYS_PARTITION||int||A key that is used for partitioning.|
|GSYS_SYS_ID||int||System ID. Reserved for future use.|
|GSYS_SEQ||bigint||Insert Sequence. Not unique.|
|GSYS_USEQ||bigint||Update Sequence. Not unique.|