Outbound REST Message Pagination

MdA3
Tera Contributor

Hi Folks,

 

Good day!

I'm integrating a third-party application. In the response I'm getting around 2 lacs record at one run.

How to process these many records or how to do pagination. I have created a custom action through which I'm calling my rest message and using JSON parser step to parse the response.

 

And then calling this action to a flow which will runs daily and ingest data to a table. 

6 REPLIES 6

@MdA3 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Hi @MdA3 ,

You should first check if the third-party API supports pagination (limit/offset or page/size) and pull records in smaller chunks. If pagination isn’t available, the recommended alternatives are using the Import Set API for bulk loads and then switching to delta loads daily, or Data Stream actions if licensed. This will handle large volumes more reliably than a single custom action.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.