Question

3
Replies
50
Views
Close popover
LEELABIRAM SRIRAMULU (LEELABIRAMS6337)
Lloyds Banking Group PLC

Lloyds Banking Group PLC
GB
LEELABIRAMS6337 Member since 2017 22 posts
Lloyds Banking Group PLC
Posted: March 25, 2021
Last activity: March 29, 2021

Report Definition Parameter Default Value Ignored

v7.3.1, WAS 8.5.5, Oracle 11g

 

We have a report definition which queries our work table joined with index table and has other criteria's to filter the results. And the RD is called from an activity using pxRetrieveReportData and all parameters required are passed from the activity. One of the criteria value in the RD is sourced using a parameter and if this param is blank, it ignores the criteria (not using null if blank).

In the Parameter tab of the RD - we set a default value for this param to a value that doesn't exist so no records would be brought if the param has no value (instead of ignoring the criteria). When the RD is run on its own, this default value is applied but when run using the activity, this default value is not applied.

Is this the expected behavior for parameter default value in RD or has anyone come across this issue? 

We have other options to make our functional requirement work for our scenario but just wanted to understand the "Default value" behavior for a RD param in this case

 

Pega Platform 7.3.1 Reporting