AnsweredAssumed Answered

Suggestions and design discussion for pagination

Question asked by JohnMoore8551 on Apr 20, 2016
Latest reply on Jul 16, 2016 by Srinivas Chandrakanth Vangari

I wanted to spawn this discussion off of this post, Running an operation multiple times using a counter which provided suggestions for paginating through available responses from a web service.


It was interesting to see the suggestions there by Adam Arrowsmith and Jacques Gentile because we ran into several issues with the Workday Get_Workers request last year. 


We used to take a similar approach of following this article Design Pattern: Handling API Pagination.  However, we would often run into memory errors with a large amount of employees.  So we implemented a design that created all of the request documents first, based on the available pages and records.  This has proven to be more effective, reusable, and easier to debug.


I am hoping this conversation will allow others to share their design suggestions and / or any challenges that they've faced.