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

Custom filter value populated during runtime

SA-67798

Summary



Default filter values are not applied to the initial run of a report. However, the vales are applied after clicking the Apply Filters button.


Error Messages



Not Applicable



Steps to Reproduce

  1. Open any report which has a default filter criteria set. 
  2. On launch, the report does not consider the filter condition and fetches the entire data.  
  3. Click the Apply Filters button explicitly. 


Root Cause



A defect in Pegasystems’ code or rules.

The page used for a custom filter section is not sanitized between report runs. If a report is closed and rerun in a new window, the prior filter values are preserved from the earlier run instead of the reinitialized values.


Resolution

  1. Apply HFix-47594.
  2. In pzCreateCustomFilterPage, remove the When condition on Step 2 to create the filter page unconditionally. 
  3. In runReport, the When condition in Step 33 (to invoke displayReport) for the When condition in Step 22 to call pzCreateCustomFilterPage. This recreates the filter page on each initial run but not when an existing popup is refreshed.

Published January 5, 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