Question
Extending Interaction History with multiple columns in Same table
Hi,
Have a doubt while extending Interaction History, from PDN article 'Extending Interaction History' (https://pdn.pega.com/extending-interaction-history/extending-interaction-history#3) we have the below explanation,
To extend Interaction History with the ProductID property for all applications in the action dimension table:
• Add a new property ProductID of type text to the Data-Decision-IH-Dimension-Action data model in the
application rulesets of the call center and the outbound marketing applications.
• Add the ProductID property (same name and data type) to the Strategy Result class of both applications.
• Override the pyInteractionHistoryConfiguration data transform in Data-Decision-IH-Configuration for both
application rulesets.
• Add a new set action, set the source to Primary.pyActionProperties(<APPEND>) and the the target to
"ProductID".
If we have to add multiple columns (Custom) to Action table, how can we extend this Data transform and have multiple columns getting saved in Action table?
Thanks,
Srini
***Moderator Edit: Vidyaranjan | Updated Categories***
Hi Srini,
Can you elaborate more on your doubt?
If you have multiple custom columns, steps remain the same. You just have to add those properties in Data Transform and the SR class.
For Outbound applications you need to perform additional steps mentioned below:
https://pdn.pega.com/support-articles/ih-extension-outbound-application
Thanks,
Santhosh