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

Resaving a Proposition with validation error saves it

SA-5441

Summary



User has a DeclareOnChange rule configured for Validation on a Proposition (data table) entry. When user edit a row (via clicking on the Edit button), validation occurs and it does not allow the change to get Saved. However, clicking on Save again Saves the value (bypassing the validation).

Error Messages



NA

Steps to Reproduce



1. Create a Data Table
2. Create a Declare OnChange rule which gets triggered for the changes in properties mapped in the data table.
3. Call an activity from the Declare OnChange rule which adds a validation message.
4. Test the Data Table row by editing the property column which is mapped in the Declare OnChange.
5. Try Saving it twice.


Root Cause



While using Declare OnChange, the Proposition row was getting locked and it was not possible to make any changes to the proposition. This was because the Section was not being reloaded.

Resolution



There is a OOTB Proposition Group Authorization feature present in DSM 7.1.7 where users can be restricted to change the propositions present under a group. If we are trying to achieve the same then we might not have to use DeclareOnChange or Validate rule approach to restrict the users from editing the propositions under a group.

Published January 31, 2016 - Updated October 8, 2020

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