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

Cannot Obj-Open PegaCPMHC-Party-Contact instance

SA-34694

Summary



When using an Obj-Open methd in an activity to open a PegaCPMHC-Party-Contact instance, the user is getting an error " Cannot open or save instances of class PegaCPMHC-Party-Contact--the class might be abstract, or it might have no defined keys, or it might descend from Code-."


Error Messages



Cannot open or save instances of class PegaCPMHC-Party-Contact--the class might be abstract, or it might have no defined keys, or it might descend from Code-.


Steps to Reproduce



Create an activity whcih is doing an Obj-Open to get a PegaCPMHC-Party-Contact instance


Root Cause



PegaCPMHC-Party-Contact is the dummy class, and it is just used to place the contact information fetched from PegaCA-Interface-Contact (pa_contact database table).

"PegaCPMHC-Party-Contact" class should not be used to fetch the contact information. Please see the data page "D_Contact_Party" which is meant for populating work party contact information. The source for the data page is a Data transform which fetches contact information from PegaCA-interface-Contact class and copies the information to the data page class (PegaCA-Party-Contact).

Resolution




The user is advised to use PegaCA-Interface-Contact (pa_contact database table).

Published March 11, 2017 - 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