Schedule a sys_template to trigger on the first weekday of each month

JR42
Giga Guru

Hi, I am attempting to schedule a template to trigger an incident on the first weekday of each month.

I would like to use the Condition field of the template for this.

Can anyone assist me with the javascript I will need in the condition to get this to work?

 

Thanks!

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

I don't think you need a JavaScript for it.

 

Please refer the below docs:-

 

https://docs.servicenow.com/en-US/bundle/vancouver-platform-administration/page/administer/reference...

 

Please mark my answer as correct based on Impact.

Hello, I will need a JavaScript condition if I want to schedule it to run on the first weekday of each month.