You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Workflow Repeat - "Limit repetitions to" is misleading

posted on November 1, 2023

I set my Repeat condition to limit the repetitions to the page count of a document which had 6 pages but found that the repeat loop only ran 5 times.

When I checked the workflow history it is says that the iteration limit has been reached, not the number of repetitions. So it is an iteration limit, not a repetition limit.

The number of repetitions is not equal to the iteration if you start with 1.

For example if I wanted to limit the number of repetitions to 1, then the repeat loop would never run because 1 is the first iteration. But logically if I say I want no more than 1 repetition, it should be able to run once no matter what the iteration is.

So it should probably say something like halt on iteration # instead.

0 0
replied on November 1, 2023

That is based on when you check the iteration condition.

If your conditions is "current iteration equals page count", then checking it before you go into the loop would stop the 6th iteration, while checking it after the loop would stop after the 6th iteration.

1 0
replied on November 1, 2023

I have an evaluation condition but it never failed, the repeat was stopped on an iteration limit instead.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.