The CreatorCon Call for Content is officially open! Get started here.

Schedule Job New Features in Zurich Release

Gaurav Shirsat
Mega Sage

Scheduled Job New Features in Zurich Release Q3 2025

as we all know that Scheduled Jobs are used to Automate the Execution of any Work based on  Time Constraints. it involves the execution of Any Activity mainly as mentioned below:

1)  Automate the generation and distribution of a report : This type of Scheduled Job is used to automate the generation of Reports that are stored in Report (sys_report or sys_report_source) Table. Generally Organization Management needs timely details of tasks that are owned by different teams, mainly based on priority of the incident, current state of incident and breached incidents etc. instead of sending the reports manually, they can be automated using scheduled on daily, weekly, monthly, quarterly, yearly basis.

 

2) Automatically generate something (a change, an incident, a ci, etc) from a template : This type of Scheduled Job is used to automate the generation of Records directly in child table of task (such as incidnt, sc_task) and records will have the values of fields automatically populated from the predefined templates from (sys_template) Table. They can be scheduled on daily, weekly, monthly, quarterly, yearly basis.

 

3) Automatically run a script of your choosing: This type of Scheduled Job is used to automate the generation of Server Side Script of users choice on specific time such as daily, weekly, monthly, quarterly, yearly basis.

 

This Article is going to illustrate about the latest facility which is now available from Zurich Release Version of ServiceNow Instance August 2025.

let us first understand the reason of creating this article :  as per the requirement I have achieved for my customer, I have noticed that the ask of generation of using Schedule Job was having simple and complex time constraints.

Generation of Report / Task Creation using Template / Run of Script on Daily/Weekly/Monthly/Periodically/Once(specific date and time)/business calendar was easy of doing. but some times the ask was like to generate the Report / Task Creation using Template / Run of Script on Alternate Monday, Or Even Monday or Friday, Specific Day and Week and so On for which none of the OOB Facility was available.

let us understand the difference of facility that are available earlier and from Zurich with the help of below image and later we will understand it from execution prospective.

GauravShirsat_0-1759647424781.png

The Options Available before Zurich : Daily, Weekly, Monthly, Periodically, Once, On Demand, Business Calendar

The Options Available from Zurich : Daily, Day and Month in Year, Weekly, Monthly, Day in Week in Month in Year, Periodically, Once, On Demand, Business Calendar

 

Let us understand the Brand New 2 Run Option i.e. Day and Month in Year, Day in Week in Month in Year

Day and Month in Year : as show below, when we want to schedule the execution on specific day from the 12 months, we can use this run type and choose the day from 1 to 31 and month from the 12 months.

GauravShirsat_1-1759649119357.png

Day in Week in Month in Year: as show below, when we want to schedule the execution on specific Week (1st, 2nd, 3rd, 4th) appearing in a Specific Month and Day (Monday, Tuesday .... etc)

 

GauravShirsat_2-1759649620554.png

Let me explain how we used to carry out these activities through scripts prior to the Zurich release with some Example:

1)  I wish to run Scheduled Job on every 2nd Monday in every month : below Script could help here, 

answer = checkCondition();

function checkCondition(){

	var gdt = new GlideDateTime();
	if((gdt.getDayOfMonthLocalTime() >= 8 && gdt.getDayOfMonthLocalTime() <= 14) && (gdt.getDayOfWeekLocalTime() == 1)) {
		return true;
	}
	else{
		return false;
	}

}

as per previous Facility this use case could have been done using Conditional Check Box Check as shown in below image :

GauravShirsat_3-1759650223430.png

Now this can be done using OOB Run Type as :

 

GauravShirsat_2-1759653562907.png

Thanks and Regards

Gaurav Shirsat

 

 

 

 

0 REPLIES 0