Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

 

4 REPLIES 4

Sarthak Kashyap
Mega Sage

Hi @The Matrix ,

 

Maybe try with below condition 

Created Between 1 Nov 2025 to 27 Nov 2025

SarthakKashyap_0-1764237982596.png

 

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

Thanks and Regards,
Sarthak

aakankshapl
Tera Expert

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
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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@The Matrix 

Thank you for marking my response as helpful.

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader