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

J Siva
Tera Sage

Hi @arturoreyes 

No, CI should be populated to detect the conflict.

Also it's not a good practice to modify the oob scripts.

 

Regards,

Siva

Hello @J Siva 
Thank you. 
I do not know what I am doing wrong. 

This is my Blackout Configuration 

Blackout period.png

This is my Schedule entry

Schedule Entry.png

 

Then I created a NOrmal Change request to validate if the conflict is detected, but it did not work. 

 

change.png

 

What am i doing wrong?

Sorry @J Siva 
I did not read correctly. So, is it mandatory to set up a CI in the CR to run the conflict detection? If so, what is the purpose of having "Change Request" in the Source field? 

Hi @arturoreyes 
Apologies for the confusion earlier. I misunderstood the question and initially responded incorrectly, but I later edited my response.

Now coming to your query.. what is the purpose of having "Change Request" in the Source field? 

The 'Source' field in the blackout schedule record is primarily used to populate the fields in the filter condition. For example, if you select 'Change Request' as the source, the filter condition will display fields from the Change Request table. Similarly, selecting other options will show conditions based on their respective tables.