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

Page-Set-Message does not keep messages on Harness



User has a Grid, on click of a row opens a Work-object using Open-URL-in-Window

When tried to submit the work-object, based on a condition user sets page-messages. Now the issue is even when the condition is satisfied, the messages set are not seen on the harness UI. 

Error Messages

Not Applicable.

Steps to Reproduce

1) Include a Grid, with onClick event to open a work-object using Open-URL-in-Window.
2) Note that OnClick of submit in the work-object sets page messages.
3) Observe that these are not seen in UI, and the flow also does not move forward.

Root Cause

A defect in Pegasystems’ code or rules. When calling the pzGetTrackerChanges activity, the pzKeepPageMessages is not set to true and hence the response from the server does not bring the error messages. 


Apply HFix-27773.

The HFix changes involves setting pzKeepPageMessages to true when building the safeURL to call the pzGetTrackerChanges activity.

If the HFix alone does not resolve the issue, add the below code in UserWorkForm or any specific harness related to the issue.

@protected Rollback element updates caused by popups launched from tabs. 
@return $void$ 
pega.u.d.rollBackElementUpdate = function(){ 

var winObj =; 
if(winObj && winObj.document && winObj.document.getElementById('workarea')){ 
var oSafeURL = SafeURL_createFromURL(pega.u.d.url); 




Suggest Edit

Published June 16, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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