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

¿¿¿¿¿¿¿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

  1. Create a new table manually including all the columns which are present in a Pega created table except pxInsName
  2. Map the new created table to an existing data class
  3. Write an activity to perform Obj-Save on the data class
  4. 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.


Suggest Edit

Published March 29, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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