Question

Not able to save Declare Index

Hi,

I have created a declare Index and created separate table for index class and saved properties.

When i am trying to save i am getting below error.

(XX-XX-XX-Work-XX-XX)Cannot save instance of class Index-XXXX-XXX-Data-XXXXX; it belongs to fully exposed table pegadata.pr_Index_TXXXXXX in database PegaDATA, but the instance has properties which do not correspond to columns: ChangedAttributes , PassengerID

Can you please help me on this.

Correct Answer
September 17, 2019 - 10:30am

Hi 

Able to fix the issue, after exposing the columns which are in Index-XXX-XXX-Data-xxx class.

Regards,

Krishnaveni

Comments

Keep up to date on this post and subscribe to comments

Pega
September 16, 2019 - 6:46am

Hi,

Please go through the below articles which explains the root cause of the error you are getting.

https://community1.pega.com/community/pega-support/question/pycommiterror-cannot-save-instance-class-cts-fw-telecfw-data

https://community.pega.com/support/support-articles/commit-failure-fully-exposed-data-class-issue

To solve the error we need to add the property that causing the issue in external mapping tab of class definition.

September 17, 2019 - 10:30am

Hi 

Able to fix the issue, after exposing the columns which are in Index-XXX-XXX-Data-xxx class.

Regards,

Krishnaveni