Forum Discussion
SpiroTaleski
3 years agoValued Contributor
I am thinking of one way that maybe is worth trying:
- The call to the API to be a separate pipeline, exposed as triggered task that will accept pipeline parameters: currentPage, recordsPerPage, pageCount, deltaTimeStamp etc. You can have an upstream mapper snap where you will get the parameters and prepare the API request.
- Another pipeline that will call the above triggered task using Rest Get snap by passing the required parameters. And then using the response, you can compose the logic for "Has Next" and "Next URL".