- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 11:09 AM
Hi all,
I am trying to figure out a way to create a wait for condition in flow designer but have a wait for a duration flow logic attached so that if the condition hits the duration timer will stop and essentially be skipped BUT if the condition never hits and the duration timer runs out then the wait for condition gets skipped and the next condition i put in the flow runs.
I can easily do this in the workflow module by creating a wait for condition in one avenue and a timer in another avenue. Once the wait for condition hits then the timer gets skipped OR if the timer runs out the wait for condition gets skipped. Attached is the workflow i use
Right now in the flow designer if the wait for condition gets hit then the timer still keeps running and if the timer finishes the wait for condition still waits for the condition. Im trying to skip the either one of these based off of which one hits first. Any thoughts on how to do this in flow designer. I am currently using a run workflow flow logic in the flow designer to do this but would be pretty happy to do it all in flow designer. Thanks.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 12:15 PM
Hi,
Correct. Adding a "End" action will end the entire flow, so that will not be an option.
I believe you could implement this by adding the "Wait for condition" and add a timeout on the condition. See example below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2022 12:15 PM
The End option ends the whole flow, yes.
I don't believe there is yet a clean way in Flow to merge the branches back together. You can accomplish this by using other flow logic, such as "Do the following until" or OlaN's timeout option but it gets messy if you have more than two branches or want to use a non-trivial condition in the "Until" part.
Best,