For Each loop exits after the 1st run - Flow Designer

Anish Reghu
Kilo Sage
Kilo Sage

Dear all,

Find the Flow design first.

find_real_file.png

After Send Mail 3.2.3 is END.

Then the following:

find_real_file.png

Note that there is no END flow logic applied here after 3.3.2.3 expecting that the for loop should not terminate in case of multiple iterations, BUT THAT DOES NOT HAPPEN. THE FOR LOOP ONLY EXECUTES ONCE EVEN AFTER REMOVING THE END LOGIC FROM HERE.

How do I get the FOR EACH logic to execute through all it's iterations. If a wait logic has to be applied, where should it be?

 

 

1 ACCEPTED SOLUTION

So it shows that it reaches an End-flow logic. Can you remove that End and try again?

End flow logic is used to: stop a flow within flow designer.

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/f...

View solution in original post

6 REPLIES 6

I came across the same situation.  (Funny !!!)

Thanks for explaining!

Thanks. 🙂

Hi @Anish Reghu do we need to test again after changing the iteration value to 2?