Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Pega Customer Decision Hub Interaction History data model

Updated on August 4, 2022

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.

Pega Customer Decision Hub

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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique identifier that is created for each record in the application dimension tablepxApplicationDimension
pxcreatedatetimetimestamp without time zoneTime when the record was createdpxApplicationDimension
pyapplicationcharacter varying (255)The name of the application that is calling Pega Customer Decision HubpxApplicationDimension
pyinteractioncharacter varying (255)Name of the Interaction rule.
Note: Interaction rules are considered deprecated in Pega Customer Decision Hub 8.6
pxApplicationDimension
pystrategycharacter varying (255)Name of the final strategy that triggered the creation of an interaction recordpxApplicationDimension
pycomponentcharacter varying (255)Name of the final strategy that triggered the creation of an interaction recordpxApplicationDimension
pyapplicationversioncharacter varying (16)Application versionpxApplicationDimension

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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique identifier that is created for each record in the customer dimension tablepxChannelDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxChannelDimension
pydirectioncharacter varying (255)Direction of the interaction (inbound or outbound)pxChannelDimension
pychannelcharacter varying (255)Name of interaction channelpxChannelDimension
pytreatmentcharacter varying (255)Name of treatment used in the interactionpxChannelDimension
devicetypecharacter varying (255)Type of the device used in the interactionpxChannelDimension
uricharacter varying (255)The URI used in the interactionpxChannelDimension
useragentcharacter varying (255)Property to hold UserAgent (for example: browser, client) informationpxChannelDimension
channelgroupcharacter varying (255)A subdivision of the pychannelpxChannelDimension
channelsubgroupcharacter varying (255)A subdivision of the channel grouppxChannelDimension

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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique Identifier that is created for each record in the context dimension tablepxContextDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxContextDimension
pycategorycharacter varying (255)pxContextDimension
pyreasoncharacter varying (255)pxContextDimension
pydisplaycategorycharacter varying (255)pxContextDimension
pytoprankcharacter varying (255)pxContextDimension
controlgroupvaliditystarttimestamp without time zoneStart date time for a control group validity periodpxContextDimension
controlgroupvalidityendtimestamp without time zoneEnd date time for the control group validity periodpxContextDimension
mkttypecharacter varying (255)Context typepxContextDimension
mktvaluecharacter varying (255)Value associated with the context typepxContextDimension
pycontextcharacter varying (255)pxContextDimension
pycallmodecharacter varying (255)pxContextDimension
cgvaliditystarttimestamp without time zoneStart date time for the control group validity periodpxContextDimension
cgvalidityendtimestamp without time zoneEnd date time for the control group validity periodpxContextDimension
workidcharacter 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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique Identifier that is created for each record in the customer dimension tablepxCustomerDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxCustomerDimension
pysubjecttypecharacter varying (255)Class value of the subjectpxCustomerDimension
pycustomersegmentcharacter varying (255)The segment to which the customer belongs pxCustomerDimension
pycustomersubsegmentcharacter varying (255)Subdivision of pyCustomerSegmentpxCustomerDimension
pygrouptypecharacter varying (255)pxCustomerDimension
modelcontrolgroupcharacter varying (255)Property holding the control group information for a customer in a given outcome optimization pathpxCustomerDimension

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.

PropertyData type and lengthDescriptionAssociation
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxJourneyDimension
pzidnumeric (19,0)Unique identifier that is created for each record in the journey dimension tablepxJourneyDimension
pyjourneycharacter varying (255)Name of the customer journeypxJourneyDimension
pystepcharacter varying (255)Step of the customer journey where the interaction was recordedpxJourneyDimension
pystagecharacter 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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique identifier that is created for each record in the location dimension tablepxLocationDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxLocationDimension

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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique Identifier that is created for each record in the operator dimension tablepxOperatorDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxOperatorDimension
pyorganizationcharacter varying (255)Organization name of the operatorpxOperatorDimension
pydivisioncharacter varying (255)Division name of the operatorpxOperatorDimension
pyunitcharacter varying (255)Unit name of the operatorpxOperatorDimension
pyoperatorcharacter varying (255)Operator IDpxOperatorDimension

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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique Identifier that is created for each record in the outcome dimension tablepxOutcomeDimension
pxcreatedatetimetimestamp without time zoneTime when the record was created in the dimension tablepxOutcomeDimension
pyoutcomecharacter varying (255)Deprecated in Pega Customer Decision HubpxOutcomeDimension
pyResponsecharacter varying (255)Response (for example: Accepted, Rejected)pxOutcomeDimension
pybehaviourcharacter 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.

PropertyData type and lengthDescriptionAssociation
pxfactidnumeric (19,0)Unique identifier created for each record inserted into the fact tablenone
pysubjectidcharacter 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
pxoutcometimetimestamp without time zoneTimestamp corresponding to when the record was stored in the interaction history tablesnone
pzactionidnumeric (19,0)Identifier used for joining the action dimensionnone
pzapplicationidnumeric (19,0)Identifier used for joining the application dimensionnone
pzchannelidnumeric (19,0)Identifier used for joining the channel dimensionnone
pzcontextidnumeric (19,0)Identifier used for joining the context dimensionnone
pzcustomeridnumeric (19,0)Identifier used for joining the customer dimensionnone
pzlocationidnumeric (19,0)Identifier used for joining the location dimensionnone
pzoperatoridnumeric (19,0)Identifier used for joining the operator dimensionnone
pzoutcomeidnumeric (19,0)Identifier used for joining the outcome dimensionnone
pygroupidcharacter varying (255)In a multi-level configuration, this is the name of the parent context.none
<context key>character varying (255) For multilevel configurations, on save of context dictionary, properties are added to the table that correspond to each context.
pxdecisiontimetimestamp without time zoneTime stamp corresponding to when the decision was issuednone
pyexternalidcharacter varying (255)none
pylatitudenumeric (19,9)Latitudenone
pylongitudenumeric (19,9)Longitudenone
pxprioritynumeric (19,9)Priority assigned to the actionnone
pypropensitynumeric (19,9)Calculated propensity for the actionnone
pxinteractionidnumeric (19,0)Unique 64-bit identifier for all records that belong to the same interactionnone
pxranknumeric (18,0)Rank of the actionnone
pypartitionkeyintegerPartition key assigned to the factnone
pzjourneyidnumeric (19,0)Identifier used for joining the journey dimensionnone
pyrevenuenumeric (19,4)none
pymaxbudgetnumeric (19,4)Maximum budget assigned to action (used for negotiation)none
pytargetbudgetnumeric (19,4)Target budget assigned to action (used for negotiation)none
pyfulfillednumeric (19,4)none
pyweightnumeric (19,4)Value to increase or decrease propensitynone
pyisfactidnumeric (19,0)none
pxdecisionreferencecharacter varying (255)none
pyreasoncharacter varying (255)none
ipaddresscharacter varying (255)IP addressnone
revenuenumeric (19,4)Revenue associated with the actionnone
costnumeric (19,4)Cost associated with the actionnone
urlidnumeric (19,0)none
utm_mediumcharacter varying (255)The type of link which was usednone
referrerurlcharacter varying (1024)

The HTTP referrer of the requested website

none
externalaudienceidcharacter 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 Hubnone

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.

PropertyData type and lengthDescriptionAssociation
pysubjectidcharacter varying (255)Identifier of the subject of the decision (customer or account)none
pyassociatedidcharacter varying (255)none
pxcreatedatetimetimestamp without time zoneTimestamp of record creation in the tablenone
pyassociationstrengthnumeric (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.

PropertyData type and lengthDescriptionAssociation
pzidnumeric (19,0)Unique Identifier that is created for each record in the association dimension tablepxActionDimension
pxcreatedatetimetimestamp without time zoneTime the record was created in the dimension tablepxActionDimension
pyissuecharacter varying (255)Issue the action belongs to.pxActionDimension
pygroupcharacter varying (255)Group the action belongs topxActionDimension
pynamecharacter varying (255)Action identifierpxActionDimension
pylabelcharacter varying (255)Action name or labelpxActionDimension
bundlenamecharacter varying (255)Bundle name of the actionpxActionDimension
bundleheadcharacter varying (8)Bundle head of the actionpxActionDimension

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us