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

Max number of threads/tabs warning message

SA-16359

Summary



When working on multiple cases in the Case Manager, a warning message of,  "You have reached the maximum limit for pending changes. Please commit/cancel one or more changes to continue" will appear when the limit is reached. 
The maximum document limit set in Layout Properties of pyPortalContent is 16.
The warning message is expected as per configuration. However, is there a way to suppress the warning message?


Error Messages



Not Applicable
 

Steps to Reproduce



Open more than 16 documents in the Case Manager Portal.


Root Cause



The warning message is expected as designed.

Resolution



Add RULE-HTML-SECTION @BASECLASS PXDISABLECLIENTDIRTYDETECTION in the portal. 
Since pxDisableClientDirtyDetection section contains javascript code prevents a case to become "dirty", the unwanted warning message does not appear.

if(pega){

  if(pega.u){

  if(pega.u.d){

  pega.u.d.attachOnload (function(){pega.u.d.gDirtyOverride = false;

}, true);

  }

  }

}

Include the section inside the UserWorkForm HTML fragment as below:


There is a side effect. After setting pega.u.d.gDirtyOverride to false, the document will never be considered as a dirty document.

Published January 31, 2016 - 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