Flow Designer | Do the following until loop | limit iteration number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2020 03:30 AM
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!
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2022 08:05 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2022 09:33 AM
I figured it out.
return fd_data.flow_var.retry_counter + 1;