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

Pega's default popup gets displayed in review harness



When a page which has list to list control gets rendered in review harness, the pega's default popup 'You are about to replace a work item..." gets displayed when the user tries to navigate out of the page. This is the page shown in review harness and user will not be able to update the work item.

Error Messages

You are about to replace a work item popup message gets displayed.

Steps to Reproduce

1) go to the review harness which has list to list control

2) try to navigate out of the review harness

you will be shown with the pega's default popup.

Root Cause

This popUp is called whenever any change is made to the existing harness and a new harness is being loaded.
In this specific case, although user was not making any change, still the popUp was getting invoked. This was a review screen where User never intended to make any change.


Add gDirtyOverride=false; statement only for the specific harness.
As the User will not be making any change to this harnes, it will resolve the issue without any side-effects.

You can either create a non-autoGenerated section having  "
gDirtyOverride=false;" code in it  and include the section in the specific harness where you do not want this popup.
You can create a js file with the statement "gDirtyOverride=false;" and include the file in the ScriptsAndStyles tab of the harness.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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