OBLYTECH Logo
OBLYTECH Logo

ServiceNow Change Conflict Detection: Setup and Review

ServiceNow change conflict detection compares a change’s configuration items and planned dates against maintenance windows, blackout windows, lockdowns and other scheduled changes, then records each clash on the Conflicts tab. In the Brazil release you can run it by hand, let it run when dates or state change, or schedule it on a timer.

What the engine checks before it flags a clash

A conflict run starts from the configuration item on the change and its planned start and end. It then widens the view. It asks whether that item already carries another change in the same window, and whether a parent or a child of the item does. It asks whether the planned time falls inside the item’s maintenance window, or inside the maintenance window of a parent or child. It asks whether the time sits inside a blackout window for any of those items. Last, it asks whether the person assigned to the affected configuration item is already scheduled at that date and time. For the wider concept, see how blackout windows work.

Two things change what the engine sees. Inactive changes are not evaluated, so a cancelled or otherwise inactive change does not hold a slot. Advanced mode is the second. After an upgrade it is off by default, and affected configuration items stay out of the analysis until the mode is set to Advanced. Results are written back to the change record. Scoring is a separate question, and the change risk assessment guide covers that side of change control.

Choosing how the detection job executes

A single system property decides the machinery. The property change.conflict.useprogressworker is false by default, which routes each run through the Change Management Worker table and a flow named Change – Conflict Detection that runs as the system user. Setting it to true moves detection onto Progress Workers. Because the property governs the whole instance, change it deliberately and test the new path on one change first.

Turning on automatic checks and the scheduled sweep

Automatic checking lives under All > Change > Administration > Conflict Properties, and a change manager or an administrator can set it. One option runs detection after a save that changes the configuration item, the planned start date, the planned end date or the state. The other enables the scheduled conflict checker. That checker re-checks upcoming changes on a cadence tied to how far away each one starts: once a day within a week, once every two days within a month, and once a week beyond that. A large configuration management database lengthens these runs, so test the sweep on a representative slice of the estate before enabling it everywhere.

Running a manual check and reading the Conflicts Detected list

A manual run needs a configuration item in the Configuration item field, or in the Affected CIs field when advanced mode is in use, plus a planned start date and a planned end date. A change with the Exclude from conflict detection check box selected cannot run at all. The role needed is itil or sn_change_write.

  1. Open All > Change > Open and select the change request.
  2. Select the Conflicts tab.
  3. Select Check Conflicts, then close the pop-up that appears when the check finishes.

The Conflicts Detected list then shows the result.

Column What it holds
Conflicting change The other change in conflict, if any
Affected CI The configuration item tied to the change
Last Checked When the conflict was last evaluated
Related CI The parent or child item that caused the clash
Schedule The maintenance or blackout window responsible, if any
Type The kind of clash detected

The type labels fall into groups. CI Already Scheduled and its parent and child variants point to overlapping changes. Not in Maintenance Window and its parent and child variants point to a planned time outside the required window. Blackout points to a planned time inside a blackout. Inside Change Lockdown appears when a lockdown is involved.

To stop a run in progress, an administrator selects Check Conflicts again and then Cancel. The active job ends, the displayed conflicts clear, and the status reads Not Run. Future executions of a scheduled or automatic check on that record continue.

Excluding a change and watching the maintenance window

The Exclude from conflict detection check box takes a change out of the process in both directions. A parked test change is a typical case. When the box is selected, the Check conflicts action becomes inactive, and other records stop showing that change as a conflict. A change manager adds the field through the form context menu, under Configure and then Form layout.

The Outside maintenance schedule field is informational. The instance sets it itself when planned dates fall outside the item’s maintenance schedule, or when an affected item’s schedule does not cover the window. Saving such a change produces a warning for each item, primary or affected, listing the dates that fall outside. Upstream and downstream items are not examined, so a window problem at a dependency will not appear here.

Handling lockdowns and limiting checks to one state

Lockdowns are evaluated in the same run as maintenance and blackout windows. A change inside an active lockdown is reported as an Inside Change Lockdown conflict, with the lockdown named in the Schedule column. The status moves to Conflict, and the On hold reason field records the lockdown responsible. Rescheduling the change outside the lockdown triggers a fresh run that clears the hold. A new change inside a lockdown is placed on hold at submission, whatever its state. The controlling property ships set to true. For the wider picture of change models, see change models and standard change templates.

By default, detection fires whenever the state, the configuration item or a planned date changes. To narrow it, an administrator opens a change model, goes to Model States, opens the chosen state, and adds the Allow Conflict Detection attribute on the Attributes tab with Active ticked. Detection then runs only when a change reaches that state.

How schedule types and categories feed the results

Three schedule types feed the engine. Maintenance schedules describe when changes should be scheduled, and a change outside one raises a conflict. Blackout schedules describe when normal change activity should not happen, and a change inside one raises a conflict. Information schedules record events such as holidays, but they do not produce conflict records. All three extend the Condition Schedule table and share fields such as Name, Time zone, Source and Condition.

Each schedule has a Category. Maintenance schedules offer Preventive, Patching and General. Blackout schedules offer Hard Freeze, a total prohibition on code deployments or infrastructure changes, and Soft Freeze, which restricts nonessential changes but allows exceptions for critical defect fixes and security patches. Information schedules offer Holiday, Global event and Organisational event. The field stays empty until a value is chosen and saved, and a conflict generated from a maintenance or blackout schedule carries that category. For the governance side of freezes, see change freezes and exceptions.

Ownership uses the Assigned to and Assignment group fields. The person field depends on the group chosen. Information schedules are checked through the main information property, which is on by default, while the related child and parent information properties are off by default.

Reading the conflict calendar and resolving a clash

The conflict calendar shows active change requests, blackout schedules and changes outside maintenance windows around a change. A Scheduling Assistant lists open time slots. Configuration filters narrow the view by assignee, assignment group or configuration item, which helps you spot two changes owned by the same engineer. A Related Changes section then appears in the conflict calendar to show that overlap. Teams that run the review board side of change control can read the CAB workbench guide alongside this one. For how calendar views support coordination, see change calendar coordination.

To resolve a clash, read the Conflicts Detected list for the type and the schedule responsible. Open the calendar to see what else occupies the window. Pick a slot from the Scheduling Assistant, which updates the planned start and end dates, and then run Check Conflicts again. Running Check Conflicts again after the reschedule shows whether any conflicts remain.

Installing the Collision Detector plugin

The collision detector arrives as the Change Management – Collision Detector plugin, identified as com.snc.change.collision. An administrator activates it from All > System Applications > All Available Applications by filtering for the plugin, selecting Install and waiting for the activation to finish. It includes demo data and activates related plugins. On an instance with domain separation and delegated admin, the installing administrator must sit in the global domain. In the Brazil release the plugin activates automatically on upgrade. The install adds the Conflict table, the schedule tables, the business rules that run detection and the schedules that evaluate conflicts.

What does a no-conflict result prove, and which data must be right first?

A no-conflict result proves that the configured checks, at their last run, found no overlapping change, maintenance or blackout window, or lockdown for the items and dates on that record. It does not prove that dependencies or business events were weighed. Before a buyer relies on it, the item links, schedules, planned dates and assignee data must be right.

What the check sees and what it leaves out

The check does not examine upstream or downstream items, so it does not map the services that consume the item. Business events such as a month-end close are seen only if someone entered them as a maintenance or blackout schedule, because information schedules do not create conflict records.

Scoring is configured separately. A clear calendar can sit beside a change that scores high, so an empty conflict list is a scheduling finding, not a risk finding.

The data that has to be right first

  1. Configuration item links. Parent and child links must match how the service really runs. A missing link means the check never looks at that neighbor.
  2. Planned dates. Start and end must cover the real work window, including rollback time.
  3. Schedules. Each maintenance and blackout schedule needs a category, a time zone and a condition. A blackout in the wrong time zone is checked at the wrong hours.
  4. Assignee data. The person and group on each affected item must be current.
  5. Settings. Exclude from conflict detection must be clear, Advanced mode must be on where several items are affected, and the change’s state must be one where detection runs.

How to test a clear result before relying on it

  1. Confirm the run is current. If Last Checked predates the last change to the item, dates or state, the result describes a version of the change that no longer exists.
  2. Seed a known clash. In a non-production copy, place a test change on a window you know collides and confirm it appears. If it does not, a clear live result tells you little.
  3. Compare schedules with the real calendar. Gaps between the configured windows and the calendar your teams actually use are where a clear result stops being true.
  4. Review dependencies by hand. For a change on a shared platform, list the consuming services and their windows in the change record, and have their owners confirm them before approval.

What to ask for before a buyer signs off

  • The configuration item relationships that feed the check, and when they were last reconciled.
  • The live schedules, their owners and their time zones.
  • The path for an override when a conflict is raised and the team proceeds anyway, and who approves it.

No defensible universal target for change success rate has been established. Set a baseline on your own services first, then agree the risk limits you will accept.

Frequently asked questions

Does a cancelled change still block a new date?

No. Inactive changes are not evaluated, so a cancelled or otherwise inactive change does not hold a slot. An active change does. Running the check again on the affected change refreshes the list.

What is the difference between a hard freeze and a soft freeze?

A hard freeze is a total prohibition on code deployments or infrastructure changes. A soft freeze prohibits nonessential changes but allows exceptions for critical defect fixes and security patches. A conflict raised by either one carries its category into the conflict record.

Why does an information schedule not appear as a conflict?

Information schedules record events so that teams stay aware of them. Detection does not create conflict records for them. Whether a change inside a related item’s information window gets checked depends on the child and parent information properties, which are off by default for related items.

Why is the Check conflicts option inactive on a change?

The option becomes inactive when the Exclude from conflict detection check box is selected on that change. A manual run also needs a configuration item and both planned dates in place before it can start.