How to implement looping logic in snaplogic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2022 09:14 AM
I have a scenario to repeat a specific action if the expression is true. I don’t have a specific control over the number of times that I need to repeat. It has to be till the expression is true. Does anyone knows which snap or approach would be useful to implement this logic? Please help.
Regards,
Amar.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 08:14 AM
For your reference hope this helps.
loop.zip (5.0 KB)
FYI, I just set the File poller to loop every 15 secs for the span of 60 seconds… setting this up to -1 and it will never end unless manually terminating the pipeline from the dashboard… removing the poller.trigger file will put the looper pipeline into a stall cause there is no streaming document that will trigger the parent pipeline 🙂
I would suggest to create a scheduled task and run pipeline daily, then put a 24 hours in the polling timeout
