Attach a process for Change model states
You can attach a process with defined conditions to the Change model states to enable state transitions.
This process can be done by using one of the following methods:
- ServiceNow® Workflow Studio: See Flow Designer
- Business Rules: See Business rules
Change flows for default Change models are available in Workflow Studio. For more information on default Change flows, see Change flows.
Evaluating a Change model
When your flow is completed, you can evaluate the Change model to process any automated transitions. In Workflow Studio, the Evaluate Change Model action is used to evaluate the Change model.
When using Business Rules, you can use the script to evaluate the Change model. For example, see the Change Registration: Auto State Change business rule on the change_request table.
You can also evaluate a Change model for a specific Change request using this
event:
| Event name | Parameter | Description |
|---|---|---|
| change_model.evaluate | Change Request sys_id | Process that may affect the state of the Change request but doesn't change the Change request record. |