- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 11:24 AM
Obviously I am not understanding the "Wait for a duration" flow logic in Flow Designer.
Here is what I am trying to do:
- During M-F, 8-5 allow the flow to run without delay.
- All other times, wait for 10 mins.
I have tried setting up a schedule to no success. It either waits 10 mins or waits until the scheduled and then 10 mins.
Any good examples out there?
Thank you!
Tom
Solved! Go to Solution.
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 03:18 PM
Hi Tom,
The "Wait for duration" during a schedule will stop a timer progressing until the amount of time has progressed, during the schedule. e.g. if you asked it to wait 10 minutes on a saturday, it would wait until Monday morning, then 10 minutes.
I've accomplished what you are trying to do by creating a "Is Time In Schedule?" action, which takes the input of a date/time (normally Flow Start Time, or gs.Now()) and returning a true/false. If TRUE, run the next step, ELSE, pause for 10 minutes, then run the next step.
I'm sorry I don't have the code handy for that action, but a community search should help you find out how to do it.
Regards,
Andrew

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 03:18 PM
Hi Tom,
The "Wait for duration" during a schedule will stop a timer progressing until the amount of time has progressed, during the schedule. e.g. if you asked it to wait 10 minutes on a saturday, it would wait until Monday morning, then 10 minutes.
I've accomplished what you are trying to do by creating a "Is Time In Schedule?" action, which takes the input of a date/time (normally Flow Start Time, or gs.Now()) and returning a true/false. If TRUE, run the next step, ELSE, pause for 10 minutes, then run the next step.
I'm sorry I don't have the code handy for that action, but a community search should help you find out how to do it.
Regards,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2020 08:18 AM
Thank you, Andrew. I found your other post and implemented it in my flow.
Tom