Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Blackout Schedule "Change Request" Sourc

arturoreyes
Tera Contributor

Hello Community 


I need to create a blackout period that identifies all changes assigned to specific IT teams. If one of these teams attempts to create a Change Request during the blackout period, ServiceNow should notify them of the conflict.

I want to create a Blackout Period using "Change Request" as Source. I have added some conditions such as:
Assigment Group

Company

Model

and so on. I created a Schedyle Entry, everythins is good at this point then I created a Change Request to test my blackout schedule and SN is not detecting the conflict.  As per the conflict tab >> Configuration item/Affected CIs, Planned start date and Planned end date are required to run conflict detection <<, for now, I am not able to select a CI in the change form, that's why I need to use "change request" as Source. 

 

Conflict Tab.png


I also tried selecting "CI Class" as the source, and then selected "Change Request [change_request]" in the "Applies to" field. That’s the table, isn’t it?  The conflict is not being detected by SN.

CI Classs.png

 

A CI is required to run the conflict detection script. a CI is mandatory.

 

 

Is it possible to create a Blackour period using "Change Request" as "source"? I do not want to select a CI for now.

 

Can the conflict detection script be adjusted to take the CRs into consideration? This will depend on the conditions or filters in the blackout configuration. 

8 REPLIES 8

Thank you Sir.

I am confused. The "Change Request" in the Source field should allow me to create a blackout period regardless if a set up a CI in the Change Request Form, then the conflict detection should run whitout issues. 
Apologies for many quesntions. 

@arturoreyes Yep. Understood..
The blackout and maintenance schedules are ultimately based on the Configuration Item. Regardless of the source you select, the source table must have a link to the CI in order to detect any conflicts.

@J Siva 
Oh!!! so the CI is mandatory. Understood Sir. 

@arturoreyes Yep. Glad it helped..