Schedules are the rules which include or exclude time on a calendar. They are used by service levels, group on –call rotation and inactivity motor. For example schedule can be defined to restrict service levels to apply on weekdays during business hours or to execute holidays from on-call rotation.
Scheduled jobs are the jobs that are performed either at a particular time or on a recurring schedule. It allows you run scheduled jobs at various intervals. In scheduled jobs you have options like import on a specific day / week / month / year / any other custom time provided. In certain contains you can work with the default set up provided. In certain cases,in order to schedule a job you need to add some conditional check box and conditional script to that particular job in order to schedule it. Once it was done we can add the scripts as per requirements. The script runs based on the condition mentioned in the script.
Become a Master in ServiceNow at OnlineITGuru through ServiceNow online Training
Scheduled jobs performs any work that must be done on a specific time or on a recurring basis. This module links to the Schedule(sys_trigger) table. Manipulation of Schedule table is not recommended. The scheduled jobs module in system is an admin- friendly front end for scheduling work.
Schedule jobs are extremely useful to automate the process in servicenow which lift some of the administrative burden to the servienow admin It a very simple and easy to create a scheduled job or scheduled import. Basically no scripting or advanced configuration is involved at all . Just setting up a schedule is required to schedule. In some situations you need to execute a schedule job beyond the normal schedule. For this type of job scheduling you need to open a scheduled job entry and click on the EXECUTE button. But in some cases there is a need to automate the process based on trigger in a work flow or change state in some ticket.
Admins can modify the script by adding your scheduled job name and quering the desired table for your scheduled job . you must query one of the extensions below
‘scheduled_import_set’(Scheduled import Sets)
‘sysauto_script’(Scheduled Script Execution)
Scheduling at the end of the month: We need to take care while handling this kind of scheduling. Scheduling on 29th or 30th is not recommended because some months may not have those many days. If the event is scheduled for 31st , it will be executed it will be executed on the last day of the month even if the month is shorter.
Scheduled jobs from Scripts : This new script object calls apply to the Calgary and further more. For release prior to the Calgary packaged needs to be substituted. Packages were not valid with the Calgary release.
Running scheduled jobs imported from another instance: To prevent the unexpected data changes system does not automatically create Schedule item records for Scheduled jobs which is imported from the another instance
These reports are distributed via email. Scheduled reports created by an individual whose user account is deactivated may not display any data. To ensure the desired data displayed an active user must recreate a scheduled report. Scheduling and pivot table reports for reports for email submissions using the publish options . Publish options creates a URL for the report and display the address above the report form. You can create an email notification with this URL and send the link to the people who wish/ need to see the report.
There are many advantages of scheduled jobs. Some of them were discussed below
Recommended Audience :
Prerequisites: It is good to have knowledge on programming languages like Java Script , Server maintenances Apache Tomcat and data bases SQL, MySQL. But it is not Mandatory .Trainers will teach you from the basics
Become a Master in ServiceNow at OnlineITGuru through ServiceNow Online Training Bangalore.