Change Calendar + Blackout Dates

gaidem
ServiceNow Employee
ServiceNow Employee

I'm trying to find a way to have a calendar show changes and also show blackout dates. Basically there may be a week where there is extra attention to changes. I'd like some graphical way to represent this on a calendar. I have played with maintenance windows and blackout windows and the change collision detector, but I haven't found anything close to what I'm trying to do.

Any thoughts?

Thanks!

Matt

18 REPLIES 18

Created a Schedule Page — "Maintenance Windows and Changes"



Created URL Gauge:



Added to Homepage:



You are awesome...I'm going to work on this. Thank you!



On Jun 1, 2017 17:48, "jerilynnknepper" <community-no-reply@servicenow.com>


Hello Jerilynn



Last question - Do you know where the attributes for the Timeline are defined?   I looked at the script include for ScheduleTimeline...but didn't see the attributes listed.



EX: In Timeline display, it only shows the Change number.   I would like to add 'Assigned To' in the display.


THanks


Hello Josh,



Here is an example of another Script for our IT Merged Calendar where this is done is the script.



gr = new GlideRecord('change_request');


gr.addEncodedQuery('sys_created_on>=javascript:gs.monthsAgoStart(6)^state=-12');


gr.query();


while (gr.next()) {


var name = gr.number.toString() + ' - ' + gr.short_description.toString();


var start = gr.start_date.getDisplayValue();


var end = gr.end_date.getDisplayValue();


var item = schedulePage.addItem(gr, start, end, name, '#318047');


if (item) {


item.setDescription(name);


item.setName(name);


}




Thank you,



Jerilynn K. Knepper


Blue Cross and Blue Shield of Kansas City


Systems Administrator — ITSM



2301 Main Street



Kansas City, MO 64108



816-349-6027



<http://www.bluekc.com/>


For the attributes:



Form->Configure Dictionary->select change_request with type collection -> Calendar elements







Thank you,



Jerilynn K. Knepper


Blue Cross and Blue Shield of Kansas City


Systems Administrator — ITSM



2301 Main Street



Kansas City, MO 64108



816-349-6027



<http://www.bluekc.com/>