Support Article
Unable to view items in Basic and Advanced tab in section
SA-100711
Summary
Unable to view items in the Basic and Advanced tab in a section. However, the Layout tab displays correctly.
Error Messages
( rd.queryexec.SqlQueryExecutor) ERROR - An error occurred on executing the query for the report definition - There was a problem getting a list: from Database: 0 SQLState: state
DatabaseException caused by prior exception: com.microsoft.sqlserver.jdbc.SQLServerException:| SQL Code: 0 | SQLState: state
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: TimeoutException
Steps to Reproduce
Unknown
Root Cause
On click of the Advanced or Basic option, the SQL query triggered to provide the Controls list from the database takes time to retrieve the results. Hence, the query time out database exceptions occur and controls do not display in the UI.
Resolution
For SQL Server databases and report definition rules that have Rules Resolution enabled, Pega Platform generates a query with an Inner Join that results in a slow execution plan or query time out.
An efficient solution is to use an Inner Merge Join for the query. For this, set the following Dynamic System Setting (DSS) to configure the Pega Platform to use an Inner Merge Join query:
- Setting Purpose: reporting/useMergeHintForRRquery
- Owning Ruleset: Pega-Reporting
- Value: True
Published February 11, 2020 - 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.