Schedule: 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. In our Explain about Scheduled Jobs? we will discuss more about Schedule.
Generally Scheduled jobs are that performed either at a particular time or on a recurring schedule. It allows you to 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. You can work with 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 particular job in order to schedule it. In the same way 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. In the mean time this module links to the Schedule(sys_trigger) table. Manipulation of Schedule table which is not recommended. The scheduled jobs module in system, an admin- friendly front end for scheduling work.
In Particular, Schedule jobs are extremely useful to automate the process in servicenow which lift some of the administrative burden to the servicenow admin. It a very simple and easy to create a scheduled job or a scheduled import. Basically no scripting or advanced configuration involved at all . Just setting up a schedule required to schedule. In some situations you need to execute a schedule job beyond the normal schedule. For Instance this type of job scheduling you need to open a scheduled job entry. Click on the EXECUTE button. But in some cases there is a requirement to automate the process based on trigger in a work flow or modification state in some ticket.
Admins modify script by adding your scheduled job name and querying the desired table for your scheduled job . At the same time, 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 not recommended because some months may not have those many days. If the event scheduled for 31st , it will 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. Packages were not valid with the Calgary release.
Running scheduled jobs imported from another instance: To prevent the unexpected data changes in system, does not automatically create Schedule item records for Scheduled jobs which imported from another instance.
To illustrate Scheduled reports created by an individual whose user account, deactivated may not display any data. To ensure desired data displayed an active user must recreate a scheduled report. However Scheduling and pivot table reports for email submissions using the publish options . Publish options creates a URL for the report and display the address above the report form. Simultaneously You can create an email notification with this URL and send the link to the people who wish/ need to see the report.
We have many advantages of scheduled jobs. Some of them were discussed below.
It is good to have knowledge on programming languages like Java Script , Server maintenance 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 ITIL Certification