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

Save error occurs when trying to update object using an activity

SA-1545

Summary



An error occurs when trying to update a work object using an activity.

Error Messages



"Trying to save an invalid page: Trying to save an invalid page: page is not valid
.Eligibility: The property UpdateCase.Eligibility was of mode Page List while adoptDictionaryDefinition(ImmutablePropertyInfo, boolean, boolean) was expecting Page mode. Details: the mode has been reset to match the property's definition."

Steps to Reproduce



1. Create an Eligibility property of type Page List.
2. Create a work object with the Eligibility property page list.
3. Change the Eligibility property type to Page mode.
4. Create an activity to open the work object created in step 2 and you see the error "The property UpdateCase.Eligibility was of mode Page List while adoptDictionaryDefinition(ImmutablePropertyInfo, boolean, boolean) was expecting Page mode. Details: the mode has been reset to match the property's definition."

Root Cause



The error is occurring because the Eligibility property was initially a Page List and had been changed to Page mode.

Resolution



If the data is not needed, remove the Eligibility property before saving the work object.  If the data is needed, the Eligibility property will need to be copied to a new page list property.  Then remove the Eligibility property so the work object can be saved.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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