ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Condition Code on Datetime field type

Good day everyone…

I’m trying to create a new Notification on Employee Checkin Doctype.
The purpose of the notifications is it would send alerts whenever the “Time” field is registering beyond a certain time (E.g: Time = +08:00 a.m.) no matter the date.

In Notification, the Send Alert On option is “Custom”.

However, I’m facing a problem with the condition code, an error message appears saying: (The Condition ‘doc.time > dd/mm/yyyy 08:00:00’ is invalid)

Can anyone please provide some assistance?
Thank you :slight_smile: