We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Send email notification when "Planned end date" is one week passed

Saranya2
Tera Contributor

Hi All,

->I need to trigger a email notification on change task table, when planned end date is one week passed (Excluding weekends) & if state is "In Progress".

-> The 2nd notification will be triggered on the next day if the state is still "In Progress".

-> The 3rd notification will be triggered on the next day if the state is still "In Progress". (Final remainder)

Can anyone help on this?

Thanks,

Saranya

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@Saranya2 

So what did you start with?

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

Hi Ankur,

I have created a Scheduled job as below, But I am not sure how to exclude weekends. Can you check once?

 

ctask1.PNG

@Saranya2 

you can add 7 days to planned date excluding weekends

check this link

Add Business Days 

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

Not applicable

You can achieve this via a scheduled job. Create an event in event registry. Create a notification with the trigger as an event is fired and then use this event in a scheduled job using gs.eventQueue()