For each loop in flow designer not checking all records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @anjali viswanad ,
May be the data source (Look Up Records, Data Stream, etc.) may only be returning a single record, not multiple records.
Check the email is does not have any conflicting condtions.
Were there 728 expected records or emails to trigger?
Attach more clear images of flows, to understand better.
Thanks,
Bhimashankar H
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Open the Flow -> Edit Flow -> Flow Properties -> Advanced Options
Make sure Run as is set to System User. Save the flow and try again
Refer below knowledge article,
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824613
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How did you know it ignored the other ones?
Your For Each has 728 records to iterate and OOTB flow execution will only show the 1st and the last iteration for the For Each.
Did you check email logs and confirm how many times email triggered in last 15mins or so?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
But it's triggering for the same users multiple emails how to avoid multiple emails for the same receipent.