Update the state model script include
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Change Management
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
Update the ChangeRequestStateModel_normal script include to add new functions for the Complete state.
Before you begin
Role required: admin
About this task
You update the ChangeRequestStateModel_normal with the following
configuration.
- Add new canMove and moving functions for the Complete state. These functions can return a value of true since there are no special conditions for or extra actions to perform when moving to the Complete state.
- Modify the definition of the existing object for the Implement state to ensure that the next state is Complete.
- Add an object for the Complete state, which defines
Review and Closed as the
next two states. Note: The canMove functions for the transition to these states from Complete checks the Needs review custom field to determine the correct next state.
Procedure