Pega Customer Decision Hub Interaction History data model
Pega Customer Decision Hub stores all customer responses to specific actions in Interaction History database tables. The recorded interactions can then be used to train adaptive models through delayed learning, or to create business intelligence reports.
Properties in the pr_data_ih_dim_application table
The pr_data_ih_dim_application table contains properties that describe the decision path which issued the action. Properties in this table are defined in the Data-Decision-IH-Dimension-Application class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique identifier that is created for each record in the application dimension table | pxApplicationDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created | pxApplicationDimension |
pyApplication | character varying (255) | The name of the application that is calling Pega Customer Decision Hub | pxApplicationDimension |
pyInteraction | character varying (255) | Name of the Interaction rule. | pxApplicationDimension |
pyStrategy | character varying (255) | Name of the final strategy that triggered the creation of an interaction record | pxApplicationDimension |
pyComponent | character varying (255) | Name of the final strategy that triggered the creation of an interaction record | pxApplicationDimension |
pyApplicationVersion | character varying (16) | Application version | pxApplicationDimension |
Properties in the pr_data_ih_dim_channel table
The pr_data_ih_dim_channel table contains properties that describe the channel of the interaction. Properties in this table are defined in the Data-Decision-IH-Dimension-Channel class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique identifier that is created for each record in the customer dimension table | pxChannelDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxChannelDimension |
pyDirection | character varying (255) | Direction of the interaction (inbound or outbound) | pxChannelDimension |
pyChannel | character varying (255) | Name of interaction channel | pxChannelDimension |
pyTreatment | character varying (255) | Name of treatment used in the interaction | pxChannelDimension |
DeviceType | character varying (255) | Type of the device used in the interaction | pxChannelDimension |
URI | character varying (255) | The URI used in the interaction | pxChannelDimension |
UserAgent | character varying (255) | Property to hold UserAgent (for example: browser, client) information | pxChannelDimension |
ChannelGroup | character varying (255) | A subdivision of the pychannel | pxChannelDimension |
ChannelSubGroup | character varying (255) | A subdivision of the channel group | pxChannelDimension |
Properties in the pr_data_ih_dim_context table
The pr_data_ih_dim_context table contains properties that describe the decision context of the interaction, that is, the level of customer contact for which the interaction was recorded. Properties in this table are defined in the Data-Decision-IH-Dimension-Context class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique Identifier that is created for each record in the context dimension table | pxContextDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxContextDimension |
pyCategory | character varying (255) | pxContextDimension | |
pyReason | character varying (255) | pxContextDimension | |
ControlGroupValidityStart | timestamp without time zone | Start date time for a control group validity period | pxContextDimension |
ControlGroupValidityEnd | timestamp without time zone | End date time for the control group validity period | pxContextDimension |
MktType | character varying (255) | Context type | pxContextDimension |
MktValue | character varying (255) | Value associated with the context type | pxContextDimension |
WorkID | character varying (128) | pxContextDimension |
Properties in the pr_data_ih_dim_customer table
The pr_data_ih_dim_customer table contains properties that describe the customer for whom the interaction was recorded. Properties in this table are defined in the Data-Decision-IH-Dimension-Customer class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique Identifier that is created for each record in the customer dimension table | pxCustomerDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxCustomerDimension |
pySubjectType | character varying (255) | Class value of the subject | pxCustomerDimension |
pyCustomerSegment | character varying (255) | The segment to which the customer belongs | pxCustomerDimension |
pyCustomerSubSegment | character varying (255) | Subdivision of pyCustomerSegment | pxCustomerDimension |
ModelControlGroup | character varying (255) | Property holding the control group information for a customer in a given outcome optimization path | pxCustomerDimension |
Properties in the pr_data_ih_dim_journey table
The pr_data_ih_dim_journey table contains properties that describe the customer journey. Properties in this table are defined in the Data-Decision-IH-Dimension-Journey class.
Property | Data type and length | Description | Association |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxJourneyDimension |
pzID | numeric (19,0) | Unique identifier that is created for each record in the journey dimension table | pxJourneyDimension |
pyJourney | character varying (255) | Name of the customer journey | pxJourneyDimension |
pyStep | character varying (255) | Step of the customer journey where the interaction was recorded | pxJourneyDimension |
pyStage | character varying (255) | Stage of the customer journey where the interaction was recorded | pxJourneyDimension |
Properties in the pr_data_ih_dim_location table
The pr_data_ih_dim_location table contains properties that describe the location of the customer when the interaction took place. Properties in this table are defined in the Data-Decision-IH-Dimension-Location class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique identifier that is created for each record in the location dimension table | pxLocationDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxLocationDimension |
Properties in the pr_data_ih_dim_operator table
The pr_data_ih_dim_operator table contains properties that describe the operator linked to the interaction. Properties in this table are defined in the Data-Decision-IH-Dimension-Operator class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique Identifier that is created for each record in the operator dimension table | pxOperatorDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxOperatorDimension |
pyOrganization | character varying (255) | Organization name of the operator | pxOperatorDimension |
pyDivision | character varying (255) | Division name of the operator | pxOperatorDimension |
pyUnit | character varying (255) | Unit name of the operator | pxOperatorDimension |
pyOperator | character varying (255) | Operator ID | pxOperatorDimension |
Properties in the pr_data_ih_dim_outcome table
The pr_data_ih_dim_outcome table contains properties that describe the outcome of the interaction. Properties in this table are defined in the Data-Decision-IH-Dimension-Outcome class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique Identifier that is created for each record in the outcome dimension table | pxOutcomeDimension |
pxCreateDateTime | timestamp without time zone | Time when the record was created in the dimension table | pxOutcomeDimension |
pyOutcome | character varying (255) | Deprecated in Pega Customer Decision Hub | pxOutcomeDimension |
pyResponse | character varying (255) | Response (for example: Accepted, Rejected) | pxOutcomeDimension |
pyBehaviour | character varying (255) | Behavior associated with the response (positive, negative, neutral) | pxOutcomeDimension |
Properties in the pr_data_ih_fact table
The pr_data_ih_fact table contains additional properties that describe the interaction. Properties in this table are defined in the Data-Decision-IH-Fact class.
Property | Data type and length | Description | Association |
pxFactID | numeric (19,0) | Unique identifier created for each record inserted into the fact table | none |
pySubjectID | character varying (255) | Unique identifier for the subject that the decisioning was made for (for example: CustomerID or Account ID, depending on the context of the decision) | none |
pxOutcomeTime | timestamp without time zone | Timestamp corresponding to when the record was stored in the interaction history tables | none |
pzActionID | numeric (19,0) | Identifier used for joining the action dimension | none |
pzApplicationID | numeric (19,0) | Identifier used for joining the application dimension | none |
pzChannelID | numeric (19,0) | Identifier used for joining the channel dimension | none |
pzContextID | numeric (19,0) | Identifier used for joining the context dimension | none |
pzCustomerID | numeric (19,0) | Identifier used for joining the customer dimension | none |
pzLocationID | numeric (19,0) | Identifier used for joining the location dimension | none |
pzOperatorID | numeric (19,0) | Identifier used for joining the operator dimension | none |
pzOutcomeID | numeric (19,0) | Identifier used for joining the outcome dimension | none |
pyGroupID | character varying (255) | In a multi-level configuration, this is the name of the parent context. | none |
pxDecisionTime | timestamp without time zone | Time stamp corresponding to when the decision was issued | none |
pyExternalID | character varying (255) | none | |
pyLatitude | numeric (19,9) | Latitude | none |
pyLongitude | numeric (19,9) | Longitude | none |
pxPriority | numeric (19,9) | Priority assigned to the action | none |
pyPropensity | numeric (19,9) | Calculated propensity for the action | none |
pxInteractionID | numeric (19,0) | Unique 64-bit identifier for all records that belong to the same interaction | none |
pxRank | numeric (18,0) | Rank of the action | none |
pyAssociatedID | |||
pyAssociationStrength | |||
pyPartitionKey | integer | Partition key assigned to the fact | none |
pzJourneyID | numeric (19,0) | Identifier used for joining the journey dimension | none |
pyMaxBudget | numeric (19,4) | Maximum budget assigned to action (used for negotiation) | none |
pyTargetBudget | numeric (19,4) | Target budget assigned to action (used for negotiation) | none |
pyWeight | numeric (19,4) | Value to increase or decrease propensity | none |
pyisfactid | numeric (19,0) | none | |
IPAddress | character varying (255) | IP address | none |
Revenue | numeric (19,4) | Revenue associated with the action | none |
Cost | numeric (19,4) | Cost associated with the action | none |
Utm_medium | character varying (255) | The type of link which was used | none |
ReferrerUrl | character varying (1024) | The HTTP referrer of the requested website | none |
ExternalAudienceId | character varying (255) | Paid Media Manager uses this property to associate ads on platforms other than Google Ads and Facebook Ads to specific audiences in Pega Customer Decision Hub | none |
FinalPropensity |
Properties in the pr_data_ih_association table
The pr_data_ih_association table contains properties that describe the associated data for the interaction. Properties in this table are defined in the Data-Decision-IH-Association class.
Property | Data type and length | Description | Association |
pySubjectID | character varying (255) | Identifier of the subject of the decision (customer or account) | none |
pyAssociatedID | character varying (255) | none | |
pxCreateDateTime | timestamp without time zone | Timestamp of record creation in the table | none |
pyAssociationStrength | numeric (19,9) | none |
Properties in the pr_data_ih_dim_action table
The pr_data_ih_dim_action table contains properties that describe the action associated with the interaction. Properties in this table are defined in the Data-Decision-IH-Dimension-Action class.
Property | Data type and length | Description | Association |
pzID | numeric (19,0) | Unique Identifier that is created for each record in the association dimension table | pxActionDimension |
pxCreateDateTime | timestamp without time zone | Time the record was created in the dimension table | pxActionDimension |
ActionContext | |||
pyIssue | character varying (255) | Issue the action belongs to. | pxActionDimension |
pyGroup | character varying (255) | Group the action belongs to | pxActionDimension |
pyName | character varying (255) | Action identifier | pxActionDimension |
pyLabel | character varying (255) | Action name or label | pxActionDimension |
BundleName | character varying (255) | Bundle name of the action | pxActionDimension |
BundleHead | character varying (8) | Bundle head of the action | pxActionDimension |
EvaluationCriteria |
- Extending Interaction History
Learn about the underlying configuration of Interaction History and how to extend it to match your business objectives.
Previous topic Adding new response outcomes Next topic Extending Interaction History