Email notification send after 3 days interval and excule weekends

Explore Service
Tera Expert

Hi Friends,

I have requirement to send email notification on every 3 days excluding weekends(sat,sunday); I have created event and scheduled job. Just want to know how to send notification after 3 days excluding sat,sunday.

Condition is -  status is open && open date!=NULL.

 

Thanks,

Rohit 

2 REPLIES 2

The SN Nerd
Giga Sage
Giga Sage

See Calculating Business Duration In Schedule for code on how to add 3 days to a schedule.

You will need to create a 24*7 schedule in your time zone that excludes weekends.

Have your code queue an event to fire off your notification, which of course would be triggered by an event.

Consider using Flow Designer for this.

 


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Swapnil Pujari
Tera Contributor

Hello,

Please check this link:

https://community.servicenow.com/community?id=view_idea&sysparm_idea_id=c346306e1b01451038739979b04b...

 

Please mark correct if it is helpful.

Thanks,

Swapnil Pujari