Email notification send after 3 days interval and excule weekends
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2019 09:16 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2019 05:49 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2022 03:39 AM
Hello,
Please check this link:
Please mark correct if it is helpful.
Thanks,
Swapnil Pujari