Issues with change state when creating a new change type

Jason Nicholas
Tera Expert

Hi

 

I have a requirement to create a new change type. I have followed the correct documentation to create the requirements

https://docs.servicenow.com/bundle/quebec-it-service-management/page/product/change-management/task/...

 

I have even created a new change Model although not sure if this is required or not.

 

The issue I have is that when I create a new change (using an interceptor) the change is created but the states do not appear. Draft appears briefly then disappears leaving no options available. If I disable the client script 'Change Model: Reusables' the states become available however as I am sure this script is a requirement I cant leave it disabled.

 

Does anyone have a suggestion or possible solution please? 

1 ACCEPTED SOLUTION

Jason Nicholas
Tera Expert

Resolved the issue, in the end this was a simple error I made. The issue was in the interceptor Answer I had created

 

For target URL I had added

change_request.do?sys_id=-1&sysparm_query=type=Professional Services

 

Changed this to

change_request.do?sys_id=-1&sysparm_query=type=professional_services

 

I had used the choice list Label and should have been the choice list value

 

View solution in original post

3 REPLIES 3

Saurav11
Kilo Patron
Kilo Patron

hello,

 

In the new change model have you defined the states:-

 

Saurav11_0-1666198893150.png

 

Please mark my answer as correct based on Impact.

Hi there

thanks for the response, yes I have set all these up only difference is that we have draft not new but our system is set up to use draft as the initial state

 

Jason Nicholas
Tera Expert

Resolved the issue, in the end this was a simple error I made. The issue was in the interceptor Answer I had created

 

For target URL I had added

change_request.do?sys_id=-1&sysparm_query=type=Professional Services

 

Changed this to

change_request.do?sys_id=-1&sysparm_query=type=professional_services

 

I had used the choice list Label and should have been the choice list value