Flow Designer | Do the following until loop | limit iteration number

gabriel_sk
Tera Contributor

Hello guys,

I have an issue with Flow designer and "Do the following until" loop...

Situation:
I have a subflow that run a "do the following until" loop containing an action and a "wait for duration of time" condition.
I would like this loop to run just 3 times but I cannot find the way to specify this in the until condition.

I believe this is a quite easy requirement that could be accomplished with an OOTB solution but I cannot achieve this, maybe I am missing something...
I thought to create an output variable from the action and have the value increase but each time the action run the value is overwritten... also I cannot edit the action output value in the subflow.

Any suggestion?

Thanks a lot!

11 REPLIES 11

Can you explain the below steps? Were you using the script to perform this? Not following on how to do this. Please elaborate.

 

 Set Flow Variables
   count = count + 1

I figured it out.

return fd_data.flow_var.retry_counter + 1;