cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Delay Until next day at 6AM

Hi all,

 

I'm building out a flow and I'm stuck on one particular action that I can't seem to figure out how to make work. Below, is what my flow is currently doing and how I'm trying to tackle this issue.

 

1. Flow kicks off at 4:30PM (Central Time) (Completed)

2. Grab SharePoint items (Completed)

3. Sample email gets sent out (Completed)

4. Approval is needed to kick-off condition -> If approved, will kick off a delay until next day at 6AM (Central Time) (NEED HELP)

5. Final email gets sent out

 

Below, is a image of how I currently have my flow setup.

Screen Shot 2019-03-22 at 11.01.55 AM.png

3 REPLIES 3
Highlighted
Super User
Super User

Re: Delay Until next day at 6AM

Hi @Semirxbih 

 

Try setting the value of your Delay Until action to the following expression.

addHours(startOfDay(addDays(utcNow(),1)),6)
This should delay the Flow until 6am the day after the Approval takes place, though you may need to adjust it slightly to cater for the use of Central Time.
 

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

Highlighted
Frequent Visitor

Re: Delay Until next day at 6AM

Thanks so much for the reply! Would I just add the 'Central Time' tag within that expression somewhere?

Super User III
Super User III

Re: Delay Until next day at 6AM

@Semirxbih :

 

Here is an alternative approach.  I am converting first to Central time in my solution.  The reason I do so is that the start of the day in central time may not be the same as the start of the day in UTC time.  In other words, the date might be one day ahead in UTC time.  Therefore, adding one day may add an extra day to the calculation.

I convert back to UTC because I believe that the date time string passed to delay until must be in UTC.

 

 

DelayUntil1.jpgDelayUntil2.jpg

 

 

If this addresses your issue, please mark your post as Solved.

If you like my solution, please give it a Thumbs Up.

 

Scott

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,293)