In the Column List:
- P = Primary key
- M = Mandatory field
- F = Foreign key
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||INTEGER||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||INTEGER||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||INTEGER||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||INTEGER||X||This field specifies the type of change that caused the record to appear in the table. One of the following values:
|KSeq||INTEGER||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||INTEGER||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||INTEGER||X||The type of the data source: extensions, reasons, or attached (user) data. One of the following values:
|KEYID||INTEGER||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||TIMESTAMP||The GMT-equivalent date and time when the key was changed as inherited from T-Server (or other data provider).|
|Added_ts||INTEGER||This UTC-equivalent value of the ADDED field.|
|Added_tcode||INTEGER||A reference, derived from the ADDED_TS field, to a record in the G_TIMECODE table.|
|GSYS_DOMAIN||INTEGER||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.|
|GSYS_PARTITION||INTEGER||A key that is used for partitioning.|
|GSYS_SYS_ID||INTEGER||System ID. Reserved for future use.|
|GSYS_SEQ||BIGINT||Insert Sequence. Not unique.|
|GSYS_USEQ||BIGINT||Update Sequence. Not unique.|
|GSYS_EXT_INT1||INTEGER||A flag indicating the reliability of classification of userdata added to this table. When an interaction is no longer in memory, such as when memory optimization is turned on (om-memory-optimization = true), and Interaction Server sends events regarding new or changed userdata, ICON records the userdata as changed (ChangeType = 3) and notes the reliability of this classification in this field: