Support Article
¿¿¿¿¿¿¿pyCommitError on saving properties of data class in table
SA-51097
Summary
pyCommitError occurs when saving properties of a data class in a new table.
Error Messages
pyCommitError: Cannot save instance of class XYZ-Data-ABCD; it belongs to fully exposed table <User table> in database PegaDATA, but the instance has properties which do not correspond to columns: prop1, prop2
Steps to Reproduce
- Create a new table manually including all the columns which are present in a Pega created table except pxInsName
- Map the new created table to an existing data class
- Write an activity to perform Obj-Save on the data class
- Run the activity
Root Cause
The external table created by the user did not have all the px, py, pz columns to perform the Obj- methods.
Resolution
Perform the following local-change:Add all the px, py and pz columns in the table.
Published March 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.