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

Formerror message displays irrespective of harness configuration

SA-44276

Summary



User has unchecked option for display form level error messages in Harness Advanced tab, still error message is visible at runtime.


Error Messages



Not applicable


Steps to Reproduce

  1. Create screen flow with TabbedScreenFlow7 harness.
  2. Add two flow actions in the flow.
  3. In one flow action, add post activity obj-validate rule.
  4. Run case and add invalid value to trigger obj-validate throw error message.
  5. Error comes next to filed which is fine but same time form-level error messages also appear


Root Cause



A defect in Pegasystems’ code or rules:

In the Harness TabbedScreenFlow7(Ui-Kit-09-01) -> pyCaseHeaderOuter section rules is using pyCaseErrorSection to display errors.
Display Form Error Message check in the advanced tab is not working as expected.



Resolution



Perform the following local-change:

Instead of pyCaseErrorSection, use @baseclass.Errors section.

Published September 21, 2017 - 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