Question
FTB
US
Last activity: 4 Jan 2022 18:38 EST
Pagination error when accessing data page data
Our application has a page for case search. The data on this page is driven by a data page (populated via a report definition). We also have a requirement to log specific data from the page for purposes of audit (more advanced than the general logging included with pega). This is what happens:
1) Do a case search
2) Multiple pages returned
3) In the process of doing that the back end gets the length of that derived data page by doing a length function on the D_DataPage[Param1:"test", Param2: "test"...], this is the same as what was done to the data page by the case search and the terms of that search. For some reason this action causes the pagination to break on the page.
4) Click pagination links and I get a pega popup saying an error occurred without moving to that next page and the app becomes unresponsive and I need to close.
If I remove that backend "lookup" on the datapage the pagination works. Within the data page if I check Enable Pagination (Limit to a single data page was checked previously) it works even with the lookup but each time you do a case search another one is created in the clipboard.
Any ideas or solutions to this issue you might suggest are appreciated?
Thanks.