Support Article
Error in generated SQL query when subreports are configured
SA-74592
Summary
User opens a segment rule on Pega Marketing portal and clicks Show customers link to view the report. The report must be exported to Excel on click of Export, but a fail screen displays. An error occurs in the generated SQL query when the subreports are configured.
Error Messages
There has been an issue; please consult your system administratorSteps to Reproduce
- Re-execute the audience
- View the report
- Download the report
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-50827.
Alternatively, make changes in the resolver to not to include order by in the subquery for the subreport. Subquery which is generated for the subreport must not have order by clause in the query.
Tags:
Published March 12, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.