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

Export to Excel occurs without Distinct clause

SA-31769

Summary



Activity pzRDExportWrapper does not consider Remove duplicate rows option. The activity does not have a step to include the "getdistinctrows" property on the Report Definition (RD) rule form.


Error Messages



Not applicable


Steps to Reproduce



1.Create a report definition with a join to another table (one to many relationship) and tick "Remove duplicate rows".
2.Run this report via activity and check results.
3.Call Export to Excel OOTB activity and check results.


Root Cause



Export to Excel generates SQL query without DISTINCT clause when using ‘pzRDExportWrapper’ activity.
The records retrieved by the report definition and presented to the user in Workbasket view are different from the records exported to Excel.


Resolution



Apply HFix-31109.

 

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