โ06-20-2019 08:51 PM
There is a child pipeline which returns values like completed, in queue, processing etc. The requirement is that parent pipeline to run this child pipeline till it returns Completed, of-course after certain wait time. Its like while loop, run the child pipeline, till the expression is true. How do accomplish this in snaplogic ?
Appreciate any pointersโฆ
โ06-21-2019 06:29 AM
Iโve seen people suggest creating a Triggered Task for the child pipeline, and then have the parent pipeline call the child pipeline via REST GET snap and use the REST GET snapโs โHas Nextโ and โNext URLโ capabilities (typically for paging) to do a while loop. The child pipeline has to return something that the parent โHas Nextโ can evaluate.
โ06-21-2019 02:30 PM
How and where do set these โHas Nextโ and โNext URLโ in the triggered task ?
โ06-21-2019 10:49 AM
Can you explain what processing youโre doing? Maybe focus less on the mechanics so that we can understand the use case.
โ06-21-2019 11:17 AM
The parent pipeline queues up a bulk job to export records. The child pipeline keeps getting the status of the job every 60 seconds to get the status till it reaches its end state. I have tried to put everything in the parent pipeline but looks like child pipeline is the best way to go.