I have the following class structure for my CAR record; Customer has multiple Accounts, which has multiple Lines.
I have strategies at each level and have Mult-Level checked when calling the sub-strategies. As such, when IH is written, pySubjectID is a concatenation of Account Number and Line Id and the pyGroupID is the Customer Number.
However, this IH is never retrieved by the IH shape when I attempt to do so in a strategy. In the DB, the IH Association table is empty. Now I see that there is a pySaveAssociation activity under Data-Decision-IH-Association. When I run this with my pySubjectID and pyGroupID, two rows are added to the IH Association table and I can now retrieve the entries via the IH shape.
So my assumption is that the writing of IH should do this automatically. Is this assumption correct and if so, is there some configuration I need to get it to do so?
IH will be queried based on the SubjectID. What is the context in which IH shape is getting used? If this is different than the one used while making the previous decision then it will not fetch that IH record.
IH Associations will not be populated automatically. One need to explicitly call pySaveAssociation to create associations.
Thanks for you response. As I have pointed out, if the IH Association table is populated, then the IH shape retrieves IH for pySubjectID="CustomerID" and pySubjectID="AccountNumber" + "LineId". However, if it is not, then it only retrieves for pySubjectID="CustomerID". Is this as expected?
Please could point me to documentation detailing how multi-level decisioning should be done and how pySaveAssociation should be used in 7.31 within this context.