WindmillWWindmill
Powered by
amigozz_A
Windmill•7mo ago•
20 replies
amigozz_

For Loops hangs if any iterations fail

Hi! Thank you for the great tool! I was testing the following flow:

- it fetches rss articles
- processes articles in a for loop
- fetches article content
- summarizes the article
- collects articles and summary in a single object from a for loop


The
fetches article content
fetches article content
step might fail sometime and in a script I don't have any error handling; my intuition was that the for loop should skip the failures and the resulting collection simply won't contain them (as I have
skip failures
skip failures
enabled in a for loop)
Instead of this I'm seeing the flow hanging and not proceeding because of the failures.

Should I add error handling to the script to avoid that or is there a better way to tell the for loop to ignore the failures?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Nested for loops?
fr3fouFfr3fou / help
3y ago
For loops worker usage
JulioJJulio / help
3y ago
AI Agent Max Iterations
fooosieeeFfooosieee / help
3mo ago
Did something change in for loops?
pixeleetPpixeleet / help
2y ago