for each loop is not iterating exactly

Gillerla Rajesh
Tera Contributor

i have list collector, based on values choosen those many incidents records will create but here records are creating those many no issue , but when i see the flow execution it's iterating only one time.

 

GillerlaRajesh_0-1754803051983.png

in this i have choosen 8 users so in log i got 8 users names  but for lopp executing only one time

 

any one help me how to slove my issue.

 

 

Regards,

Rajesh Gillerla.

7 REPLIES 7

GlideFather
Tera Patron

Hi @Gillerla Rajesh 

 

we can see just the result which is a reaction to the conditions in the for each, could you please share that as well?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


GillerlaRajesh_0-1754834684252.pngGillerlaRajesh_1-1754834710697.pngGillerlaRajesh_2-1754834730518.png

 please find the above pics

Thanks! And the logs return just one sys ID or what does it log?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Bhuvan
Tera Sage

@Gillerla Rajesh 

 

Can you expand step 2 Look Up records action and share the output ?

 

Also there was a known issue wherein for each loop was working fine but not showing up in the execution but you can see it getting executed from logs. Check if your issue is similar,

 

https://www.servicenow.com/community/developer-forum/flow-designer-for-each-only-iterates-on-1-recor...

 

Thanks,

Bhuvan