cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dlprentice
Resolver II
Resolver II

How do you compare time in conditions? Such as "is greater than"?

Hello,

 

I am trying to set a variable to true if the "Current Time" is greater than 

addHours(items('Apply_to_each_(modified_time_check)')['Modified'],72)

 Along with 2 additional items.

 

Does this look right? I don't think I'm getting the affect I'd like from "is greater than" in this situation... I'm getting false when I think this should be going to true.

Screenshot 2021-02-11 081435.png

1 ACCEPTED SOLUTION

Accepted Solutions

Your reply helped me push in the right direction, but I don't think it directly answered my question. Here is how I resolved my issue:

 

Screenshot 2021-02-12 084837.png

View solution in original post

2 REPLIES 2
annajhaveri
Super User
Super User

@dlprentice , looking at your condition i think you need to make two condition groups as shown in below screenshot and apply OR condition between two condition group

annajhaveri_0-1613050661288.png

 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Your reply helped me push in the right direction, but I don't think it directly answered my question. Here is how I resolved my issue:

 

Screenshot 2021-02-12 084837.png

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (28,915)