Support Article
Extending Customer class in NBAM
SA-5718
Summary
Developer reported 'Customer' class mapping changes does not reflect in customer property of 'PegaMKT-Work-Offer'. This is impacting the Offer formulation logic.
Error Messages
No error message. But wrong reference. It should reflect the change customer class in the property.
Steps to Reproduce
1. Change the Customer Class in NBAM application settings.
2. Verify the Customer property of PegaMKT-Work-Offer, it stills references the old customer class.
Root Cause
User was not aware of the steps to be followed for NBAM external table mapping by extending the 'Customer' class in NBAM and updating the rules.
Resolution
Following steps were shared with the developer for mapping an external table in NBAM -
1. Create an external table and map it with Database Class Mappings
2. Update the Parent class to inherit from PegaMKT-Data-Customer
3. Update the Customer Page property reference in PegaMKT-Work-Offer with the above class after saving in the custom ruleset
4. Now Change the customer class in the Manage Data Relationships settings through Next Best Action Studio.
Tags:
Published January 31, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.