Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error while adding history for adaptive models in the Program



User reported that they are getting BadInputException while running the Outbound Next-Best-Action Marketing (NBAM) Program.

Error Messages Cannot open or save instances of class History---the class might be abstract, or it might have no defined keys, or it might descend from Code-.

Steps to Reproduce

1) Enable Adaptive models in DSM NBAM enabled instance. 
2) Create a Strategy with Adaptive component.
3) Run the outbound Program by configuring the Strategy with Adaptive model created.

Root Cause

The error seems occur when ADM tries to save Audit notes, for which it tries to save an instance of a -History class.


Un-check the 'Audit notes' checkbox in the 'Advanced configuration' section on the 'Settings' tab of the Adaptive Model rule.

Published January 31, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us