Bootstrap FreeKB - ServiceNow - Creating your first Scheduled Script Execution
ServiceNow - Creating your first Scheduled Script Execution

Updated:   |  ServiceNow articles

These are just my personal notes as I was working through the New to ServiceNow training modules.

Scheduled Script Execution is like Linux crontab or Windows Task Scheduler, in that it is used to run jobs on a schedule, such as once daily at 8:00 am.

There were a few tasks, 2 overdue and still open, 1 not overdue, and 1 completed.

 

At All > Studio, I selected the application (NeedIt in this example) and selected Create Application File.

 

And then selected Scheduled Script Execution.

 

And I then created the following Scheduled Script Execution which runs daily at 8:00 am. This runs some JavaScript. In this example, the JavaScript finds Overdue tasks.

 

At All Studio, in the left panel I selected my Find Overdue NeedIt Tasks Scheduled Script Execution and then I could click on the Execute Now button to manually run the Scheduled Script Execution.

 

Then you can go to System Logs > System Log > Application Logs and the Overdue NeedIt Tasks should be listed.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5c2d6a in the box below so that we can be sure you are a human.