Trigger reminder notifications before 5 days of dur date
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2021 05:43 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2021 06:47 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2024 03:43 AM
Here, you can write script in scheduled job and run it daily
var gr = new GlideRecord('incident');
gr.addQuery('u_due_date', '>=', gs.daysAgoStart(-5)); // Find records due in 5 days
gr.query();
while (gr.next()) {
gs.eventQueue('send.reminder.email.before.days', gr, '', '');
}