Notifications

5 views

Description

Configuration Items fail to be added to Affected CIs association to a Change Request when saved in Assess state.

Steps to Reproduce

  1. Create a Normal Change Request.
    2. Provide CI item as: Email, Assignment Group: Database, and change state to Assess
    3. Save the record from context menu.

    The Affected CIs are not associated to the Change Request and an info message shows:
    Affected CIs cannot be created for in-progress Change Requests. CI: <sys_id> not associated

Workaround

This problem has been fixed in New York. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

As a workaround, modify the Script Include ChangeCollisionHelper (sys_ID:= 63853c880a0a2c3e15136f8080b90e5e) from:

ChangeCollisionHelper.addCiToChangeAffectedCis = function(ci, changeId) {
    var affectedCiGR = new GlideRecord('task_ci');
    affectedCiGR.task = changeId;
    affectedCiGR.ci_item = ci;
    affectedCiGR.setWorkflow(false);
    affectedCiGR.insert();
};

To:

ChangeCollisionHelper.addCiToChangeAffectedCis = function(ci, changeId) {
    var affectedCiGR = new GlideRecord('task_ci');
    affectedCiGR.task = changeId;
    affectedCiGR.ci_item = ci;
    affectedCiGR.setWorkflow(false);
    affectedCiGR.insert();
};

 


Related Problem: PRB1329881

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-25 14:20:16
Published:2019-07-25