cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Advanced Condition - testing for time greater than a certain time of the day

Hi I want to create a flow that will send an email to event organiser  if the event is added on a tuesday between 12.00 and 4.00 pm.  conditioning on start time and end time seem straightforward but i am having trouble checking for dayofweek=tuesday.   i understand tuesday returns as value 2 is that right?

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Re: Advanced Condition - testing for time greater than a certain time of the day

Hi @fino ,

It seems you want to check whether a event is added on a specific time.

I have made a flow for your scenario, please check it for a reference.

The expression in the condition are:

greaterOrEquals(formatDateTime(triggerBody()?['Start'],'HH:mm'),'12:00')
lessOrEquals(formatDateTime(triggerBody()?['End'],'HH:mm'),'16:00')
dayOfWeek(triggerBody()?['Start'])

Capture3.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Solution Sage
Solution Sage

Re: Advanced Condition - testing for time greater than a certain time of the day

Hi @fino ,

It seems you want to check whether a event is added on a specific time.

I have made a flow for your scenario, please check it for a reference.

The expression in the condition are:

greaterOrEquals(formatDateTime(triggerBody()?['Start'],'HH:mm'),'12:00')
lessOrEquals(formatDateTime(triggerBody()?['End'],'HH:mm'),'16:00')
dayOfWeek(triggerBody()?['Start'])

Capture3.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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 (12,618)