- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 06:54 AM
In a table I had a field "Due Date" now suppose
-> When due is approaching in 30 days I need to trigger a notification...
-> and when due date is approaching in 15 days again need to trigger a notification..
Is it possible by using flow designer? if so can anyone help me please...I am not getting how to set the condition to calculate 30 and 15 days using flow designer...
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 07:36 AM
Hi Sathwik,
Hope you are safe and good.
You can try this with scheduled jobs.
- Create an event in the registry.
- Create a Scheduled script execution which runs daily at 0800 hrs.
var chg_req=new GlideRecord('change_request');
chg_req.addEncodedQuery('active=true^due_dateRELATIVEGT@dayofweek@ahead@29^due_dateRELATIVELT@dayofweek@ahead@31^NQdue_dateRELATIVEGT@dayofweek@ahead@14^due_dateRELATIVELT@dayofweek@ahead@16');
chg_req.query();
if(chg_req.hasNext())
{
while(chg_req.next())
{
gs.eventQueue('change_request.schedule_reminder',gr,gr.assigned_to.email,'');
}
}
3. Create notification which sends the notification when the event got triggered.
In this example I have used Change Request table. Replace the table name in the glide record also due_date field name.
Please click on helpful if it is.
Thanks & Regards,
Sharath Allam
Kaptius - ServiceNow Premier Partner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 08:58 AM
Already marked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 09:32 AM
can you please help me how to check for Date field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 10:28 AM
It will work for Date field too.
Can you share the screen shot of your filter conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 11:01 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2021 11:05 AM
None of the above records have the due date after 30 days.