Try ERPNext Buy Support Partners Foundation

Mail Alert Condition example

In mail alert Condition Example following is shown.

doc.status==“Open”
doc.due_date==nowdate()
doc.total > 40000

What is the expression for “Not Equal to”. We want to set alert only if doc.status is not closed.

doc.status != "Closed"

Thank you :slight_smile:

Thanking you,

With Regards,
Deven Shah
Safeworld Systems Pvt Ltd
M - 09825060116

Is nowdate() function still working? It’s giving me some hard time! I am adding a condition to Quotation Feedback Trigger like:
doc.rfq_date==nowdate()
But I get the bellow error when saving.
Message
The condition ‘doc.rfq_date==nowdate()’ is invalid

rfq_date is custom variable that I use.

Hi @max_morais_dmm , can you please help me out in solving this.
how to do mail alert in notification for this condition,

  1. If the delivery date is 1 month from posting date-Send a reminder in 15 days
  2. If the delivery date is 15 days from posting date-Send a reminder in 7 days.

@Subramani by UI you dont will be able to handle this situation, I mean, the “Email Alert” doesn’t provide enought flexibility to handle this scenario.

@max_morais_dmm, ok thank you for response.