โ07-13-2022 09:22 AM
The pipeline was failing in production because it was calling the child pipeline for more than 64 times.
Do we have any workaround for this approach
โ07-27-2022 08:49 AM
@sravankunadi - to make pagination a bit easier, I recommend that you build the complete URL, including the query parameters (except โoffsetโ) in a Mapper just before the REST Get. This might take just a bit of testing to work out the correct syntax of the โrootโ element.
Then the REST Get properties could be set as follows:
Unfortunately, if the API doesnโt return a โnext urlโ, you will need to build the full URL for the Next URL value.
Since I canโt call your service, Iโm not able to replicate the folder pagination; and because I donโt have a Marketo instance with a large number of folders, I canโt provide a sample pipeline for you.
Hope this helps point you towards a solution!
โ07-27-2022 08:55 AM
By the way - there is a Marketo snap pack that would let you easily list the Folder contents (as well as many other functions) - you may want to contact your SnapLogic CSM (Customer Success Manager) to ask about a trial in your dev org to see if this would work for your use case.