03-11-2022 09:10 AM
Hello,
For the REST Get snap, there’s a feature to set a delay interval between Pagination and Retry calls, but what about just between regular calls as documents come in? All calls to REST can be rate limited, not just pagination calls. Do I have to create a sub-pipeline with a script delay to achieve this?
Thanks!
Solved! Go to Solution.
03-11-2022 10:55 AM
Hi @Ish,
If you really need the delay between each REST call on each document input, then yes that has to be delayed with a Script snap, it doesn’t have to in a sub-pipeline because you can pass the data through the Script snap.
03-11-2022 10:55 AM
Hi @Ish,
If you really need the delay between each REST call on each document input, then yes that has to be delayed with a Script snap, it doesn’t have to in a sub-pipeline because you can pass the data through the Script snap.
03-11-2022 11:14 AM
Thank you for the tip – I’ll implement it this way.
03-11-2022 11:16 AM
Another thing to mention – sometimes REST APIs tell you how long you have to wait until you can make the next call. It would be great if the REST Get could be enhanced to not only allow setting a delay, but also the ability to use the results from the previous call to set how long the delay will be before the next one.
03-15-2022 10:41 AM
This is an ongoing point of pain, and many folks have requested the ability to loop in SL without resorting to deep recursion.
There are apparently technical barriers to this. But it’s necessary. (Loop here would be: GET, examine response; if response says to wait, extract the wait time and pause, then go back to step one; otherwise, proceed.)