Installed with Change Management - State Model

Several types of components are installed with the Change Management - State Model.

Properties installed with Change Management - State Model

The Change Management - State Model adds the following properties.

Note: To open the System Property [sys_properties] table, enter sys_properties.list in the navigation filter.
Property Description
glide.ui.change_request_activity.fields Change request activity formatter fields.
  • Type: string
  • Default value: assigned_to,cmdb_ci,state,impact,priority,opened_by,work_notes,comments,on_hold_reason
  • Location: System Property [sys_properties] table
com.snc.change_management.core.log Controls the level at which logging should be displayed.
  • Type: choice list
  • Default value: debug
  • Other possible values:
    • info
    • warn
    • error
  • Location: System Property [sys_properties] table

Business rules installed with Change Management - State Model

The Change Management - State Model adds the following business rules.

Business rule Table Description
Scratchpad Variables from parent Change Change Task

[change_task]

Sets a flag in the Scratch Pad to indicate if the change task has a change request that is on hold.
mark_closed Change Request

[change_request]

Sets a change request to inactive depending on the current state.
Cancel approvals when Change is on hold Change Request

[change_request]

Cancels all approvals if the change request is put on hold.

Client scripts installed with Change Management - State Model

The Change Management - State Model adds the following client scripts.

Client script Table Description
Hide On hold for certain states Change Request

[change_request]

Hides the On hold field if the state was New, Closed, or Canceled when the Change Request form was loaded.
Field message for State field Change Task

[change_task]

Adds a field message to the State field under certain conditions, such as when the change is on hold.
Show valid states values Change Request

[change_request]

Changes the State field to display only the current state and the next valid state for the change request. Adds a field message to the State field when the current state requires an approval or the change request is On hold.
Show On hold reason when on hold ticked Change Request

[change_request]

Makes the On hold reason field mandatory when the On hold check box is selected.

Tables installed with Change Management - State Model

The Change Management - State Model modifies the list view of the following table.

Table Description
Change Request

[change_request]

Sets the column order in the list of change requests.

Script includes installed with Change Management - State Model

Change Management state model adds the following script includes.

Script include Description
ChangeRequest Change request API. Provides an abstraction from the legacy and new change types and state models.
ChangeRequestStateHandlerSNC Base state handler implementation extended by ChangeRequestStateHandler.
ChangeRequestStateHandler Transition between states. Uses one of the defined models to determine which transitions are allowed.
ChangeRequestStateModelSNC_emergency Extended by ChangeRequestStateModel_emergency.
ChangeRequestStateModel_emergency State model for emergency changes.
ChangeRequestStateModelSNC_standard Extended by ChangeRequestStateModel_standard.
ChangeRequestStateModel_standard State model for standard changes.
ChangeRequestStateModelSNC_normal Extended by ChangeRequestStateModel_normal.
ChangeRequestStateModel_normal State model for normal changes.
ChangeRequestStateHandlerAjaxSNC Base client API extended by ChangeRequestStateHandlerAjax.
ChangeRequestStateHandlerAjax Client-callable API for ChangeRequestStateHandler.