Why does the Change model not allow state transitions in normal change workflow?

Mouktik_B
Tera Contributor

After the approval in assess state , it does not moove forward to the next states and gives an error message that change model restricts state transition . How to fix this ? 
I am working on a normal change workflow . 

1 ACCEPTED SOLUTION

SwarnadeepNandy
Mega Sage

Hello @Mouktik_B,

 

There are a few possible causes and solutions for this problem:

  • One cause could be that the change model has a state model that defines the allowed state transitions for each change type. If the state model does not include the transition from Assess to Authorize, then the change model will prevent the state change and show an error message. To fix this, you can either modify the state model to include the missing transition, or create a new state model that matches your workflow requirements. You can use the Product Documentation | ServiceNow article as a reference for configuring state models and transitions.
  • Another cause could be that the change model has a business rule or a script that checks the state transition and cancels it if it does not meet certain conditions. For example, there could be a business rule that checks if the change request has a valid risk assessment or approval before moving to the next state. To fix this, you can either disable or modify the business rule or script to allow the state transition, or make sure that the change request meets the required conditions before moving to the next state. You can use the ‘State model - Can change state?’ cancels change State update by Workflow or other scripts - Service... article as a reference for troubleshooting business rules or scripts that cancel state transitions.
  • A third cause could be that there is a data inconsistency or corruption in the change_request table or the sa_state_model_transition table that prevents the state transition from being executed. To fix this, you can either run a data integrity check or a database repair on these tables, or contact ServiceNow support for assistance. You can use the Unable to create Change Request, Error: Change model … - ServiceNow article as a reference for resolving data issues that prevent state transitions.

I hope these suggestions help

 

Kind Regards,

Swarnadeep Nandy

View solution in original post

4 REPLIES 4

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Mouktik_B 

 

Check the Change Transition module where it says from which state to which state is allowed in Change request. May be some transition is missing.

 

Else check the workflow of Normal Change request.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

SwarnadeepNandy
Mega Sage

Hello @Mouktik_B,

 

There are a few possible causes and solutions for this problem:

  • One cause could be that the change model has a state model that defines the allowed state transitions for each change type. If the state model does not include the transition from Assess to Authorize, then the change model will prevent the state change and show an error message. To fix this, you can either modify the state model to include the missing transition, or create a new state model that matches your workflow requirements. You can use the Product Documentation | ServiceNow article as a reference for configuring state models and transitions.
  • Another cause could be that the change model has a business rule or a script that checks the state transition and cancels it if it does not meet certain conditions. For example, there could be a business rule that checks if the change request has a valid risk assessment or approval before moving to the next state. To fix this, you can either disable or modify the business rule or script to allow the state transition, or make sure that the change request meets the required conditions before moving to the next state. You can use the ‘State model - Can change state?’ cancels change State update by Workflow or other scripts - Service... article as a reference for troubleshooting business rules or scripts that cancel state transitions.
  • A third cause could be that there is a data inconsistency or corruption in the change_request table or the sa_state_model_transition table that prevents the state transition from being executed. To fix this, you can either run a data integrity check or a database repair on these tables, or contact ServiceNow support for assistance. You can use the Unable to create Change Request, Error: Change model … - ServiceNow article as a reference for resolving data issues that prevent state transitions.

I hope these suggestions help

 

Kind Regards,

Swarnadeep Nandy

Thank you so much for your elaborate response . 
This has been very helpful , I had to deactivate one existing BR to get this done . 

It is finally working . 

 

Could you please mention the BR name