02-27-2012 01:39 PM
Hi all,
Say I have a loop that I want to iterate 5 times (for or while), OR exit conditionally using a stop button at any time. say each iteration takes 5 mins to complete, and halfway through iteration 2 I decided I wanted to stop the process, currently what happens (and i appreciatte this is normal behaviour) is the loop finishes iteration 2 and then continues for one for one iteration. Therefore stopping after iteration 3.
Is there any way to prevent it from starting iteration 3 at all?
Many thanks
Solved! Go to Solution.
02-27-2012 01:44 PM
02-27-2012 01:48 PM - edited 02-27-2012 01:49 PM
Can you post a small example of what you are describing? When the stop condition is true then that will be the final loop iteration. It might be that you are making the stop decision at the wrong time.
Ah! Pete beat me to it with a nice screenshot and everything
02-27-2012 01:54 PM
DOh, cheers guys. you know, I was thinking along those lines. instead, i was trying to put the conditional terminal in the second frame of a flat seq...