Recurring Change Requests

drelo
Tera Contributor

We have hundreds of CI devices for which we need to perform routine update/patching maintenance tasks. All of these devices have been grouped into various change maintenance windows with the required recurring schedules. From here we'de like to be able to create recurring change requests for patching that have a schedule that aligns to the appropriate maintenance schedule. I can see where we can create a recurring change from a change template via the system scheduler but I can night find a way to populate the planned start & end dates for the change created by the schedule.

1 ACCEPTED SOLUTION

Joe McCarty1
ServiceNow Employee
ServiceNow Employee

You can try something like this.   If you're date calculations are more complicated you may need to do in a script include.   You should be able to call your script include with the same syntax (i.e. javascript: new MyScriptInclude().getStartDate();):


Screen Shot 2017-03-06 at 10.38.36 AM.png



Screen Shot 2017-03-06 at 10.38.21 AM.png


View solution in original post

1 REPLY 1

Joe McCarty1
ServiceNow Employee
ServiceNow Employee

You can try something like this.   If you're date calculations are more complicated you may need to do in a script include.   You should be able to call your script include with the same syntax (i.e. javascript: new MyScriptInclude().getStartDate();):


Screen Shot 2017-03-06 at 10.38.36 AM.png



Screen Shot 2017-03-06 at 10.38.21 AM.png