- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2023 06:58 AM - edited ‎06-12-2023 08:01 AM
Hi I have a field on problem task called due_date and I want to trigger a notification when the due date is approaching (i.e., less than 2 days).
created a BR, related Event and Notification for this
BR
var today = new GlideDate();
if (current.due_date < today.addDays(2)) {
current.comments = 'test';
current.update();
gs.eventQueue('notifyassign',current.due_date,current.assigned_to);
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2023 07:08 AM
A Scheduled Job is created for the same, and this will trigger the Event. By using which a notification will be sent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2023 07:08 AM
A Scheduled Job is created for the same, and this will trigger the Event. By using which a notification will be sent.