From what I understand there are only 2 ways to import Interaction History into Strategies - Either use Import Interaction History shape and Import Proposition Data shape with Enable Interaction History checkbox selected. However, there is no details provided how this Interaction History is made available, how it can be used in both case, and mainly what is the difference between the 2 approaches.
Also, are there any more ways of importing Interaction History into Strategies than what I have mentioned above?
Please provide more details on how we can use Interaction History in Strategies.
I have a follow up question - There must be some reason Pega gave the Interaction History shape. How do you decide which one to use?
Also, I am able to access the IH properties when I am getting the records from Interaction History shape but have not figured out how to access these properties when getting the records from Proposition Data shape.
Posted: 6 years ago
Posted: 5 Jul 2017 12:37 EDT
Seth Robinson (SethRobinson)
Director, Product Management, Next Best Action
You are correct that there are two ways to import interaction history into the strategy canvas, Interaction History shape or Enable interaction history in the Proposition import shape. Your use-case will determine which one is most appropriate. The Enable interaction history option on the proposition import shape will only import/set the LAST response on the properties (SR properties). The Interaction History shape will import ALL responses for x days as defined in the shape.
If you are using the Interaction History shape, there is no need to Enable interaction history in the proposition shape. If you want to use IH data outside of strategy execution then you will need to call the dataflow/strategy, setting a top level page, and reference this page in your case workflow.
I hope this helps
Posted: 6 years ago
Posted: 8 Jul 2017 14:06 EDT
Viswanath Samudrala (Viswa_CG)
You mentioned "The Enable interaction history option on the proposition import shape will only import/set the LAST response on the properties (SR properties)" in your response. But in this case, the form gives an option of fetching the data for last X number of days. I am guessing there is more to it.
Also, Interaction History properties are not available in SR class. So I am wondering how they are accessed.
You may have figured out by now, but for the record: when enabling Interaction History in the proposition import component, you need to map the properties explicitly. For many of the properties there is an existing SR property you can use but for other like the count, you would use a property of your own.