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

Unable to pass SubReport data as a Param in Main Report

SA-37990

Summary




Report Definition is configured which has a column with Divide function(Takes two inputs, the two inputs are being sourced from Sub Reports(SubRep1, SubRep2)

When passing the Parameters to Divide function as SubRep1.Total and SubRep2.NewTotal then the system is accepting the parameters.

While running the report definition an exception is thrown.



Error Messages



Error: An error occurred on generating the query for the report definition - null

Steps to Reproduce



1. Create a RD with two sub reports(The sub reports should return at least one COUNT column).
2. Add a column in Main RD with Divide function and pass the SubReport columns as a params to the function.
3. Run the report definition.


Root Cause



A backwards compatibility defect in Pegasystems’ code or rules.


Resolution



Apply HFix-34069.

Published June 6, 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