Hello Everyone,
I’m currently working on implementing notifications for the Project doctype. I’ve selected a custom event instead of relying on a triggered event. However, I’m facing an issue where the custom event is not functioning as expected.
The objective is to send email notifications to the project owner, manager, and lead whenever the expected end date of a project is less than the current date (nowdate()).
Here’s the condition I’ve applied:
doc.status==“Open” and doc.expected_end_date and frappe.utils.date_diff(doc.expected_end_date, nowdate()) > -1
I’ve also attached a screenshot for reference:
Could someone assist me in resolving this issue and setting up the email notifications correctly?
Your help would be greatly appreciated.
Thank You
Anisha Jain