- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 09:00 AM
Can anyone please help me on the below notification solution.
If the actual end time is been more than 48hrs, i want to trigger a closure reminder notification.
I have created a flow designer for this but it is not working.
Please help me on this.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 10:18 PM - edited 08-05-2023 10:20 PM
Hello @nikhitha24 ,
You can achieve this using Schedule job as below
var gr = new GlideRecord('change_request');
gr.addQuery('state', 4); // Closed Complete you can add any condition here to filter records
gr.addQuery('actual_end_time', '>', gs.hoursAgo(48)); // Asuming you have time field on change request
gr.query();
while (gr.next()) {
gs.eventQueue('reminder.change.request', gr, 'parm1', 'parm2'); // pass parameter if required
}
Note: You need to create Event first Refer Creating Schedule job to send notification.
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 09:06 PM
Hello @nikhitha24
Greetings!
Please refer the below video:
Please Mark the Answer as correct solution and helpful if helped!
Kind Regards,
Ravi Chandra.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 10:18 PM - edited 08-05-2023 10:20 PM
Hello @nikhitha24 ,
You can achieve this using Schedule job as below
var gr = new GlideRecord('change_request');
gr.addQuery('state', 4); // Closed Complete you can add any condition here to filter records
gr.addQuery('actual_end_time', '>', gs.hoursAgo(48)); // Asuming you have time field on change request
gr.query();
while (gr.next()) {
gs.eventQueue('reminder.change.request', gr, 'parm1', 'parm2'); // pass parameter if required
}
Note: You need to create Event first Refer Creating Schedule job to send notification.
Kindly mark correct and helpful if applicable