I'm using DO UNTIL action to iterate over some data until a condition is met to exit the loop. I'm bit confused with the usage of "Count" and "Timeout". Does the count mean the loop iterates only 10 times or does it mean number of retries if it's a long running process.
In my testing I found the loop runs for the value specified in the count (in this case 10). If I want to iterate over a dynamic collection when the count is not known how do I set count?

Setting count/timeoutis the equivalent of
int c = 0;
Time t = utcNow();
do {
c++;
} until (foo || c >= 10 || t.addTimeSpan(PT1H) <= utcNow();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With