cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaneITAutomate
Helper V
Helper V

Condition Datetime is over 14 hours than send email

Hi,

 

I have a flow that checks a list of sign in out times and dates. I would like an email to be sent out if the sign in time goes over 14 hours.

 

So i have a reoccurance trigger,

a get items for the list

and a condition with the SignInTime is greater than (Here is where i am stuck)

 

i cannot figure out is the expression to put in the trigger

 

formatDateTime(hours()?['SignInTime'],"dd/MM/yyyy HH:mm))) is the best ive got and it doesnt want to play ball
1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @ShaneITAutomate :

Do you want to get the items that have timed out for 14 hours.I've made a test for your reference:
1\My SP list:

vbofengmsft_0-1630991194363.png

2\My flow

vbofengmsft_1-1630991320387.png

The Result

vbofengmsft_2-1630991344026.png

Best Regards,

Bof

 

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @ShaneITAutomate :

Do you want to get the items that have timed out for 14 hours.I've made a test for your reference:
1\My SP list:

vbofengmsft_0-1630991194363.png

2\My flow

vbofengmsft_1-1630991320387.png

The Result

vbofengmsft_2-1630991344026.png

Best Regards,

Bof

 

 

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,949)