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

@Khalnayak 

Thank you for marking my response as helpful.

If my response helped you please mark it correct to close the question so that it benefits future readers as well.

Regards
Ankur

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

Thanks, would this work?

it checks the sys id is the same as the record sys id of the first incident lookup and also checks if the updated field is same day as the updated time from the first lookup.

Then if both conditions true it will not trigger second event

find_real_file.png

Hi,

you want updated time should be more than updated time from previous step

that would tell you -> incident got updated after sending email

then no need to send email

Regards
Ankur

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

Thank you, and if i need to check if the updated time is same as the updated time when first email was sent then i should set the operator to 'same as'?

Hi,

to get the email sent time; you need to query email logs table and get the time

Regards
Ankur

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