Send a notification 5 days after another notification

Khalnayak
Tera Guru

Hello,

I have a scheduled script job that runs daily and any task not updated in 7 days, triggers an event which sends out a notification.

Now I have a requirements to send a follow-up email 5 days after that first notification has been sent.

How can I achieve this please?

1 ACCEPTED SOLUTION

yes nothing OOB

you can use Create Record action and set the fields correctly

Example

find_real_file.png

Regards
Ankur

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

View solution in original post

25 REPLIES 25

Anil Lande
Kilo Patron

Hi To achieve this you need to make some additional configurations.

Like add a custom field as flag (Checkbox) on task table to check whether 1st notification is sent or not.

When you send first notification check this checkbox and add logic in your script to ignore this record and instead send 2nd notification after 5 days.

I hope you have already implemented logic to check 7 days, same logic you will need for 5 days with additional conditions.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

Is there no other way without adding a custom field to task table?

Khalnayak
Tera Guru

@Ankur Bawiskar  can you help here

@Khalnayak 

why not use flow designer here with no script

refer below links

Approval Reminder for Approval Records using flow designer

Approval Reminder Notification for Change records using flow designer

Regards
Ankur

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