cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vincebk
Helper I
Helper I

Email Generated on time based condition

I have a flow that is attached to a form so that whenever a selection is made, an email is generated and sent to 4 specific people. Is there a way to put a condition in place so that when something is submitted on the form Monday-Friday from 7:30am-4:30pm the email is generated and sent to 4 specific people but if something is submitted on the weekends and between 4:31pm-7:29am during the weekday, the email is sent to 5 specific people?

1 REPLY 1
Mira_Ghaly
Dual Super User
Dual Super User

@Vincebk 

You can do a condition using dayofweek function and use the UTCNow converted to your timezone to check the time the flow was triggered.

Check below article:

https://manueltgomes.com/reference/powerautomate-function-reference/flow-dayofweek-function/

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (6,002)