- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 09:27 AM
Hi
I am new to Servicenow, Can you please help me on this
How to trigger a business rule when date becomes current date ?
Thanks,
Navya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 01:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 12:15 PM
Thanks for the response Shane!
After seeing some questions on schedule jobs in community, you are right Shane.
Can you guide me on this?
I saw the link you share with me. But, I don't see much information.
Do have any links that creates record on table using schedule job when date becomes current date?
It would be more helpful.
Thanks,
Navya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2018 12:25 PM
Please use something like this.
Create a new scheduled job. Automatically run a script of your choice. Make it run daily, or periodically or however you want it to run.
Please modify your script with whatever details you need to fill out.
var c= gs.nowDateTime();
var a= new GlideRecord('table name where task needs to be added');
var b= new GlideRecord('your table name with the due date field');
b.query();
while(b.next())
{
if(c>=b.due_date)
{
a.initialize();
//perform all actions that you need
}
}