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
- Open any report which has a default filter criteria set.
- On launch, the report does not consider the filter condition and fetches the entire data.
- Click the Apply Filters button explicitly.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
- Apply HFix-47594.
- In pzCreateCustomFilterPage, remove the When condition on Step 2 to create the filter page unconditionally.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.