Managing proposed changes
The proposed changes feature allows you to pre-configure changes to configuration items and their associated relationships. These pre-configured changes are prepared to be implemented, but do not actually happen until they are applied at a later time.
When you view a CI, the proposed changes can be displayed so that you can see what is planned.
This feature is useful when you want to make modifications while a change process is in the approval stage, and only implement the changes after the approvals are complete. If the change is never approved, no changes to records have to be reversed. If the change is approved, a quick command applies all the proposed changes.
You can make the following proposed changes to a CI:
- Modify any field on the CI form.
- Add or delete a relationship to that CI.
To modify a relationship, you must delete the current relationship and add a new relationship. You cannot delete a proposed change.
View CI history
You can view the history of changes to a CI in a list, calendar, or timeline format.
View the proposed changes of a CI
You can view the proposed changes so that you can see what is planned for the CI.
Before you begin
About this task
Procedure
Add a proposed change to a CI
Proposed changes to a CI can be made while viewing a change request or any task-related record.
Before you begin
Procedure
What to do next
Apply a proposed change to a CI
When you apply the proposed changes, all the proposed changes for that change request are applied to the configuration item. You can apply proposed changes without verification, or if verification tests of the proposed changes have failed.
Before you begin
About this task
After you apply the proposed changes, the Scheduled changes part of the form displays No scheduled changes found. You can configure proposed change verification rules which you can use to verify proposed changes before applying the changes.
Procedure
Create or edit a proposed change verification rule
Ensure that proposed changes meet business requirements and do not introduce invalid data to the CMDB, create a rule that includes a script to verify the proposed changes.
Before you begin
About this task
When you configure proposed change verification rules for a CI, you have an option to verify that the proposed changes pass the verification test script in the rule. The verification test results are logged as passed or failed, and you can view the results. Running the verification test is not mandatory, and a failed verification test does not prevent you from applying proposed changes.
Procedure
Result
On the Change Request form, you can click Verify Proposed Changes to verify proposed changes for the affected CIs.
Verify proposed changes
Before applying proposed changes to affected CIs, use proposed change verification rules to verify that the changes meet business requirements and do not add invalid data to the CMDB.
Before you begin
Role required: none
About this task
You can apply proposed changes even if they are unverified or fail a verification test.
Procedure
What to do next
Create or edit a planned change validation script
Create a custom script that checks if a change to a class was valid according to business requirements, and whether the change was planned or not. A planned change validation script is used whenever a CI change is viewed in the CI timeline or change history.
Before you begin
About this task
The system attempts to validate each CI change as follows:
- If a custom script exists for the CI or one of the CI parents, then the script is executed and the results are used to flag the change as valid or invalid. Parent CIs are examined in the hierarchical order.
If a custom script does not exist for the CI or any of its parents, then a predefined validation script is used. The change is determined as a planned change if the change occurred between the Work start and Work end dates of the change request associated with the changed CI.
However, this check is not always reliable because a user might have manually modified the CI within the work dates, which flags the change as valid even if it is invalid.
The script needs to return a boolean, true or false, which depends on meeting the test criteria in the script. You can define a separate script for each CI class, and you can define multiple planned change validation scripts for a single class. For example, to maintain different versions of the script. Only one script can be active for a CI class at any given time.
These are the parameters that uniquely characterize a change:
- The fields that were changed
- The data source that performed the change
- The time stamp of the change
To correctly determine the validity of a change, examine the parameters and apply business logic to evaluate if the validation tests are met. A planned change validation script can test any of these characteristics and determine when a change meets pre-established criteria. For example, the custom script can check if the mode of the CI is operational or maintenance, or who initiated the change.