Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to stop triggering notification for specific time period?

The Matrix
Tera Contributor

hi All,

I have got a task to stop triggering notification for specific 3 days. I have used notification's condition builder to build condition as Created Not On. It is working for only one Created Not On condition, But whenever I add or condition to Created Not On condition, it is not working.  How do I achieve this requirement?

 

TheMatrix_0-1764236644620.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@The Matrix 

use AND instead of OR in both the places

AnkurBawiskar_0-1764245076913.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

aakankshapl
Tera Guru

Hi @The Matrix  ,

  • Using OR (||) means the condition will always be true because currentDate cannot equal all three dates at the same time.
  • Example: If currentDate = '2025-11-27', then:
    • currentDate != '2025-11-26' → TRUE
    • currentDate != '2025-11-27' → FALSE
    • currentDate != '2025-11-28' → TRUE
      TRUE || FALSE || TRUE = TRUE → Mail still sends.

 

 

Try with below condition 

Add AND condition after each created not on condition

AakankshaL_1-1764243782323.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,
Aakanksha

Ankur Bawiskar
Tera Patron

@The Matrix 

use AND instead of OR in both the places

AnkurBawiskar_0-1764245076913.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@The Matrix 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@The Matrix 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader