- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2021 08:30 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 12:59 AM
yes nothing OOB
you can use Create Record action and set the fields correctly
Example
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 12:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 01:54 AM
Thanks
so I have created a flow which checks for breached incident SLA today and no updated incidents for 7 days and dependent on if assigned to is empty or not, it generates the event record accordingly.
My dilemma now is I need to wait for 5 days after the first notification is sent and then create a second event for the second notification.
But im not sure on how to check if it has been 5 days since the first notification was sent for each record.
if I do the above and wait for 5 days on the event record processed for each record, will that work?
and what further logic can I add to check if it hasnt been updated in this waiting time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 03:07 AM
Hi,
you can use Wait for duration logic
yes you can use Wait for 120 hours after event is processed
You can check after the wait for duration logic by using Lookup record to check if the incident was updated in last 5 days or so and based on that you can decide if the next email has to be sent or not
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 03:19 AM
Thanks Ankur,
But how do I check if them specific emails I sent an email to, have been updated in the 5 days after the first email was sent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 03:25 AM
Use Lookup Record action
Check if update happened on that record in last 5 days such as state got changed etc
Based on that take next action using IF Action
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader