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

CRM Interaction tabs do not close when multiple tabs are open



When multiple tabs are open for some period of time, clicking the 'X' icon (Close) for one of the inactive tabs fails to close the tab.

Error Messages

Not Applicable

Steps to Reproduce

  1. Open multiple tabs.
  2. Leave one of the tabs out of focus, and continue to create and delete other tabs.
  3. When the number of the other tabs created and deleted exceeds 30, click the 'X' icon on the tab which is intentionally left unfocused.

Root Cause

A defect in Pegasystems’ code or rules.

A Requestor level data page called Declare_pzRecentsCache is present which has the pyRecents page list that contains information about the recent work objects and tabs. By default, the list can contain only 30 items. 

If the user opens a work object in a tab and performs other tasks in the other tabs, then the other work objects are also added to the list. If the user does not restore focus to the tab but works on the other tabs (such as creating and deleting other tabs), more than 30 other items will populate the list and the original tab is pushed off the list.

If the user has to restore focus to the tab prior to clicking the 'X' icon, then the work object is restored to the pyRecents list. If the user clicks the 'X' icon directly without restoring focus, then the tab is not re-added to the list. When the work object is not on the list, then the tab is not closed.


Perform the following local-change:

Verify if a Dynamic System Setting (DSS) for Pega-UIEngine: pyMaxRecentsCount exists.

If the DSS does not exist, create one and increase its value from the default of 30 to 50.

The goal is to make the setting large enough so the likelihood of the tab being pushed off the list during normal operation is minimal. Although the number can be raised beyond 50 (the values are stored in the database), performance may be impacted.

Published May 11, 2019 - 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