Forum Discussion
Moreover, I have only these information in output preview of REST GET snap during validation. I don’t see offset in there. Please let me know with this information how can I implement pagination to avoid failure?
- j_angelevski4 years agoContributor III
Hi @amardeep2021,
By default the ‘Has Next’ and ‘Next URL’ are blank because you need to specify the ‘Has Next’ condition and ‘Next URL’ to be called. And as I can see, this is an empty response you are getting. Which endpoint are you trying to call ?
And, you should really look into the documentation of the API itself. That’s the only way to find how you can use pagination.
- del4 years agoContributor III
@amardeep2021, it looks like you’re calling a Workday RaaS (web-enabled) report. These Workday reports do not natively support pagination. The Workday Community site has multiple Brain Storm requests for a pagination feature for the reports, but Workday has not addressed these requests.
With that said, you may can work with your Workday Report team/developers to creatively develop a report with pagination/chunking capabilities.
For example, if the report data source records have timestamps or effective dating, the report team could provide prompt fields whereby you can include start and end times in the URL query string which would allow you to chunk the data by time ranges. Depending on the data you’re pulling in, there may be other creative ways to chunk the data to provide pagination capabilities.
Likewise, if this post is related to your other post about reducing the columns pulled in from the API using REST GET, the report team can reduce the number of columns in the report output.