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

Cancel on screen with required field gets validation error



User has upgraded from Pega 7.1.7 to Pega 7.1.9. They have configured a form with required fields. By default the form would have a "Submit" and a "Cancel" button. On click of the "Cancel" button, a validation triggers on the required fields. 

Error Messages

"Value cannot be blank" 

Steps to Reproduce

1) Create a form which contains required fields.

2) Use it in a Flow Action and run the Flow.
2) Click on the cancel button, we observe that the validation triggers on the required fields which is not an ideal 

Root Cause

By default, client-side validation is enabled for the work Review action. The Cancel button is available as a standard flow action button. The Cancel button invokes the Review action. If client-side validation is enabled on the harness of the work form, the Cancel action halts and you see the error window on the screen.


In order to suppress the client side validation, add the following code in user work form.

pega.u.d.bClientValidforReviewAction = false;
Note: The behavior has been resolved in Pega 7.1.9

Published March 4, 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