- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2021 04:44 AM
Hi All,
I have created a Survey which is going to be triggered when the RITM is closed.
I have create a notification to send this survey link to the User.
How can this notification be sent to the user after x days of RITM closure.
Regards,
Abhi
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2021 02:32 AM
Hi,
As per your question you want email to be sent x days after RITM is closed
Then your BR, event, notification should be on RITM table
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
‎09-02-2021 11:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2021 11:43 PM
Hi,
yes sc_req_item table is not present.
you need to enable some plugin
Flow designer does not trigger on Request Item [sc_req_item] and Catalog Task [sc_task]
OR
You can create after update BR on sc_req_item table
Condition: State [Changes To] Closed
Create event on RITM table and notification on RITM table
Trigger the event and it would be processed after 2 days
var gdt = new GlideDateTime();
gdt.addDaysUTC(2);
gs.eventQueueScheduled("your_event_name",current,gs.getUserID(),gs.getUserName(),gdt);
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
‎09-03-2021 12:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2021 12:15 AM
Business rule should be after update. I updated my above comment
in line 6 do this
var gdt = new GlideDateTime();
// don't give the closed time field as the current time is the one when RITM got closed
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
‎09-03-2021 12:34 AM