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

Error message in UI blinks and disappears

SA-14212

Summary



The validation error message in UI blinks and disappears in a second. But in clipboard, the message is set correctly. This issue occurs only with Show harness. This behavior occurs after upgrading from PRPC 6.3 to Pega 7.1.7. Screen is refreshed automatically when Show harness is used.


Error Messages



Not Applicable


Steps to Reproduce



    1     Create two date fields, startDate and endDate and a button.
    2     On Click action and a main activity, an event is triggered.
    3     In Main activity, ValidateDate, activity and Call Show-Harness method is called.
    4     In ValidateDate activity, Page-Clear-Messages and Page-Set-Messages methods are called.
    5     In Page-Set-Message method, a When rule is configured to validate the dates in above fields.
    6     Error message is configured to appear on Harness by setting form-level errors to Top of Harness in Display Options tab of Harness rule.
 

Root Cause



Deprecated control usage and customization lead to reported behavior.



Resolution



Perform the following local-change: 
  1. Replace deprecated control with Button (pxButton) control in section.

 
  1. On Click event, add Refresh - This section and Configure SearchCaseHistory activity.
 

 
 
  1. Configure Call Clear Message as first step in activity and enable condition.

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

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