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
‎05-18-2020 12:31 PM
hey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2020 11:42 PM
I'am using Paris release and not able to find the counter action. Any advise ?. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2021 08:37 AM
I was having same problem. I figured out the solution.
I created a flow variable named count, incrementing it inside do...until and the until condition is count = 3.
This I had to do because the Do...Until works opposite of Do...While. So in our case, the code is
Do
---Something---
Until
count is 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2021 03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2021 11:51 PM
ceate a flow variable
count - integer
Set Flow Variables
count = 1
Do the following
Create Catalog Task
Set Flow Variables
count = count + 1
Until
count is 3