- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 06:51 PM
Hi, need assistance understanding the error I'm getting here or why it's occurring. I'm attempting to make a flow that migrates a set of stories from ServiceNow to Jira via the Jira Spoke application.
I start with 'Look up Records' which finds the 118 records. But then when using flow logic 'For Each' item in Look up Records, it only runs the first iteration and errors out thereafter.
Attached is the log information above 4 errors
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2022 12:34 PM
Hi, Thank you for the quick responses. I actually figured out why the 'for each' was only running on first iteration.
For the step "Look Up Jira Test User ...", It was was erroring out on first iteration so I had to select "don't fail on error" for this step in the flow.
This allowed the "for each" to continue.
I have a new problem now, however. It seems that my flow takes too long to execute and am getting a "Gateway Timeout" error. When I go to the 'executions', the status is "Cancelled".
The flow did manage to create 100 of the expected 118 Jira issues.
Thanks again for the assistance. Any guidance on the 'Gateway Timeout' part would be greatly appreciated. I will be trying to figure it out in the meantime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 04:13 AM
Nevermind guys. Thank you. I figured this one out. Thanks again.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2022 10:31 PM
Good that it's solved, don't forget to close this thread by marking your own answer as correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022 05:42 AM
Hi Amed,
I am also facing the same issue with for each loop. Could you share the resolution steps you have followed. this will help me to resolve the issue.
Thanks,
Bharathi N
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 06:27 AM
Hi Bharathi, I wrote above but perhaps not too clearly. In the Flow action 'Look up Records' there is an option you must select to stop this from happening: 'Don't fail on error'. Hope that helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2022 10:59 AM
What was the fix for the gateway timeout error? I'm getting the same thing.