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

Not resetting CustomFilter in report browser

SA-31755

Summary



User has configured two Report Definitions for the same class and used custom filters option.

If user opens the reports randomly, the custom filter is not refreshing when the second report is loaded.


Error Messages



Not applicable


Steps to Reproduce

  1.  Create two report in same class.
  2.  Use custom filter for the both report.
  3.  Create two shortcuts for calling the report.
  4.  Launch report browser.
  5.  Open first report from report browser.
  6.  Select some filter criteria.
  7.  Click on apply filter to load the data.
  8.  Close the report.
  9.  Open second report.
  10.  For second report, the filtrate data will load with the pre-selecting filter criteria.


Root Cause



The issue is because in both the reports the custom Filter page specified is the same and of the same class.

So once when a report is launched and then close the browser window the Filter page is not removed from the "Reports" thread.
As a result when the second is launched the Filter page already exists and the new report is taking up the same page and filters get applied automatically.

 

Resolution



Change the Custom Filter page in any of the reports.

This is a local change and the design has changed from Pega 7.1.9 where a new thread is created for every report that gets opened and the respective thread gets closed whenever the report is closed.


Note:

The above change works fine when different reports are opened but when the same report is opened again as the page exists in clipboard report gets loaded with previous filter values.

To resolve this add "executeactivity" section in the custom filter section and pass activity as parameter to the included section.

In the activity remove the customfilter page specified in the report.

Published January 3, 2017 - 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