Notification for sales invoice

I want to apply a condition in the Notification doctype so that an email is sent to the customer 15 minutes after the creation of a Sales Invoice.

@Govind_Gupta the condition is not meant to delay the notification or something . the notification will be triggered according the 'send alert on ’ field.
I don’t think it’s possible from the notification itself . you need a schedule script running every 4 minutes to send invoices 15min old.

Is there a function to get the current date and time in a notification condition?

@Govind_Gupta frappe.utils.get_datetime() , but it wont help you to send the notification 15 minutes later .

I will try to add a custom field to store the time, which is 15 minutes after the creation datetime. If both values are equal, a message will be sent

In the Email Queue, there is a “Send Now” or “Retry Sending” button. I want to trigger this button using a scheduler when the email queue status is “Error” or “Not Sent”

@Govind_Gupta the system will automatically retry depending on ‘Email Retry Limit’ field in system settings.