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

Exception is generated post search



Undefined class 'SearchTemp' error occurs while switching the application.


java.lang.IllegalArgumentException: Undefined class "SearchTemp".

Steps to Reproduce

  1. Search a case.
  2. Open the case.
  3. Search for another case ID.
  4. Open the case such that both the cases are opened in two different tabs.
  5. After two minutes, switch the tab either to the next case or to the Search tab.

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change:
  1. In the SearchDefault data transform, add a step to set pzDocumentKey with SearchTemp.
  2. In the CPMPortalRecents section, add a refresh condition in the top dynamic layer, D_CPMPortalContext.FocussedThread.

Published August 15, 2019 - Updated December 2, 2021

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