Regarding job schedules where the "upgrade_safe" field is set to False:

bonsai
Mega Sage

I understand that job schedules with the "upgrade_safe" field set to False will not run during the upgrade.

<Reference>
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1080479

Would it still not work if I used the function to manually run the job schedule?

 

 

We would like users to manually perform actions during the upgrade process as needed.

This is a better method than manually updating records, but are there any other options?

NOW Support did not recommend setting the "upgrade_safe" field to True.

7 REPLIES 7

Tanushree Maiti
Kilo Patron

Hi @bonsai ,

As per my knowledge, If you manually click Execute Now , it will run right away, since manual execution skips the scheduler’s upgrade-state check.

 

Read these helpful article on same topic:

10 Instance Upgrade Tips for Moving from London to Madrid - Do's & Don'ts

Upgrade Safe

scheduled jobs with upgrade_safe=false 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Helpful

Ankur Bawiskar
Tera Patron

@bonsai 

Servicenow recommend setting upgrade_safe=False for all custom jobs, as it can lead to unpredictable results, delays, or instance health issues

How to resolve scheduled jobs not processing during an upgrade 

Manual execution (from Execute Now) of job with upgrade_safe=False is also restricted during upgrade process.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

bonsai
Mega Sage

Instead of manually executing the job schedule, would it be better to run the script using "sys_script_fix"?