PA Scorecards - Records Tab does not load with a large number of records on Oracle


From the Records tab of a PA Scorecard, if a user clicks the open list link, the request never returns. The query generated on the target table contains an extensive list of sys_IDs within the IN clause:
SELECT count(*) AS recordcount FROM task task0 WHERE (task0."sys_id" IN (...

This only affects instances on Oracle, with a Scorecard containing a very large number of records (100,000+).

Steps to Reproduce

On a Oracle instance:
1. Open a Scorecard with over 100000 records.
2. Switch to the Record Tab.
3. Click the link in the message bar to open the list.


After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make these decisions lightly, and we apologize for any inconvenience.

As a workaround, in Oracle based instances, the number of sys_IDs being stored needs to be limited to 5000. This is done setting the default value in the system property

Related Problem: PRB1241820