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

Validation fires even when it is turned off at Flow action level

SA-46313

Summary



Application has a harness with client-side validation enabled.

There are few local actions in the flow and validation is disabled at one of the flow actions.

However, validation still is getting processed at that flow action level. User requires to know on how to stop client-side validation at a specific local action level.


Error Messages



Not applicable


Steps to Reproduce

  1. Create a harness enabling client-side validation.
  2. Create a flow having few local actions.
  3. On one of the assignments which has few local actions, disable client-side validation at one flow action.
  4. When the flow is run, validation is still processed at that specific local action.


Root Cause



An issue in the custom application code or rules: Until PRPC 6.1 release, flow actions are made of iframes and this client validation setting was given on flow action level.

From Pega 7 onwards, flow actions are no longer using iframes, so this client validation checkbox on flow action is not honored, but client validation on harness is.

Resolution



Perform the below steps as local-change:
  1. Save as harness with another name and uncheck the checkbox on it and use it for the assignment for which validations are to be stopped.
2. To suppress validation at one specific flow action level, perform the below steps:
a
. Drag a label at the top of the section and include the logic: <%tools.putSaveValue("bClientValidation","false");%>
b. Drag another label to the bottom of the section and include the logic: <%tools.putSaveValue("bClientValidation","true");%>





Published March 19, 2018 - 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