Question
Lloyds Banking Group PLC
GB
Last activity: 29 Mar 2021 12:37 EDT
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