web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delay until specific t...
Power Automate
Unanswered

Delay until specific time every day

(0) ShareShare
ReportReport
Posted on by 7

Hi all

 

I have a flow set up which used Microsoft Forms:

 

> When a response is submitted

> Get form responses

> Get user profile

> Send an email from a shared mailbox

 

The email will pull the form responses and send them to the employee and their manager.

The form is completed throughout the day, every weekday.

 

I need the email to the employee to only be sent between 3:00pm and 5:00pm - anything prior to 3:00pm is delayed, anything after 5:00pm waits until 3:00pm the next day. 

 

Is this possible at all?

 

Cheers

Categories:
I have the same question (0)
  • Verified answer
    v-duann-msft Profile Picture
    on at

    Hi @dannyfarrington 

     

    Thank you for posting.

     

    According to your description, you would like to send email only during 15:00-17:00 everyday. For other response, you would like to delay them until 15:00-17:00. If any misunderstanding, please kindly let me know.

     

    If that’s the case, we need to use ‘condition’’ and ‘delay until’ action. Here is the flow for your reference:

    convertTimeZone(outputs('Get_response_details')?['body/submitDate'],'UTC','China Standard Time','HH:mm:ss')

    formatDateTime(addHours(formatDateTime(addDays(utcNow(),1),'yyyy-MM-dd'),15),'yyyy-MM-ddTHH:mm:ssZ')

     

    As we have timezone issue here, so we need to use convertTimeZone function to convert UTC to your region. In my example, I use ‘China Standard Time’ as I located in (UTC+8). You may need to modify expression as required.

    v-duann-msft_0-1621566500557.png

     

    To check timezone expression of your region, please go to below website:

    Default Time Zones | Microsoft Docs

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

     

    Hope the content above may help you.

     

    Best regards,

    Anna

  • BMP Profile Picture
    18 on at

    Hi Anna, 

     

    I've copied your flow, but it doesn't appear to be working for me, could you help me please? 

     

    I modified the expression to the  following - 

    convertTimeZone(outputs('Get_response_details')?['body/submitDate'],'UTC','GMT Standard Time','HH:mm:ss')
     
    I'm located in the UK and working on current GMT+1 daylight savings time zone. 
     
    What would you recommend I do? I'm running my flow to send out certificates during 15:30 and 17:00 every day, regardless of when the form was created. 
     
    It says the expression result was false. 
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard