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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Date and time Validation
Power Automate
Unanswered

Date and time Validation

(0) ShareShare
ReportReport
Posted on by 93

Hi Everyone

 

Please note that I have a list for managing overtime that contains the following columns

 

- Employee Number

- Employee Name

- Date

- Time from 

- Time To 

- Total

 

I need that when a user create new item for any employee number to check if this new item intersect with other records for the same employee number and give message that this item intersect with other items for the same employee number

example:

 

suppose that I have the below saved records

Employee NumberEmployee NameDateTime FromTime ToTotal
100Rami20-10-2018:0022:004

 

and the user try to create the below item

 

Employee NumberEmployee NameDateTime FromTime ToTotal
100Rami20-10-2021:0022:001

 

so, I need to prevent the user to add this record and show him/her message that this record intersect for another records as the new record is for the same employee in the same date and the new time is from 21:00 to 22:00 while he has another item in the same date from 18:00 to 22:00.

 

otherwise, if their is NO intersection the item should be accepted 

 

e.g if the user try to create the below item this should be accepted 

 

Employee NumberEmployee NameDateTime FromTime ToTotal
100Rami20-10-2014:0016:002
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard