Error handling for "for each" logic in flow designer in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 04:32 AM
Hi All,
In the 2nd Iteration of the "for each" logic in flow designer, Error is occurred. I have added Error handling and it is catching the error. But the iteration stops after 2nd iteration.
What should I do to continue the loop and skip the error.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 05:21 AM
Do you have a 'stop processing' somewhere within the loop?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 05:37 AM
at which step did it fail within that for each?
If it fails on Update Record then there is a checkbox "Don't fail on error" for that activity. Please select that.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader