- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2023 04:59 PM
I have a flow that does a Lookup Records and then does a For Each on those records; for each record I write to the log. There should be 5 records. When I do a test run (shown in the attachment), it does say 1 of 5, but it is only iterating through one record. Is this a bug? I did see KB0824613, which says: Flow Designer "for each item in" action does not return all the records. It says to change the "Run As" flow property from "User who initiates session" to "System User". I did that, but it made no difference. What am I missing here? I am running Tokyo.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2023 09:09 AM
It turns out that looking at the log file shows that the 5 records were logged correctly. Somehow, the test run doesn't show each iteration, but the log file does. I don't know if that's a bug in the test execution flow, or if it's just that I didn't know what to expect. But in any case, this works fine. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 05:39 AM
You did put an end in the loop, than that will close the flow and it will not go to the next itteration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 01:21 PM
Please make sure you don not have END FLOW within FOR EACH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2025 09:29 AM
I didnot used any end flow but still only one record is iterating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 11:19 PM
@JillaV do you get any solution to this, I am facing with same issue.