Do we have max iteration property in flow chart as we have in sequences?

Hello Automaters,

I have started learning UiPath and came across this feature as having max iterations for do while loop or while loop to avoid infinite loop. I can see this feature is available in Sequences but not in flowchart. Anyone knows that do we have that in flow charts too that I can’t see? or we have to do some counter operations to break the loop?

@gopi.janjanam

in flow chart you would not have it…because by nature for while etc are looping containers…flow chart can be used for looping but not only for that…so we need to implement it as we need using flow decision:

cheers

1 Like

Hi @gopi.janjanam

For your question answer would be No

if you need to max iterations you have to use loop activities itself

1 Like

@gopi.janjanam yes you are right we have to do some counter operation to break the loop
for example in the flowchart -
create a intCount variable and initalize it with 0
use a while activity and pass the coudition → intcount < ((4)the number of iteration you want to run the loop) and inside while use 1 assign activity and pass the same intcount variable → intcount = intCount+1
so when the limit match with the condition it exit from the loop Counter.

for example as shown in the image

cheers

1 Like

If you clear with your question please mark my answer as solution and close the topic

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.