Show all state options in change request state dropdown

asukumar
Kilo Contributor

I want to change the state dropdown in change requests to show all of the state options regardless of what state the change is currently in.

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Which release are you on? I think it changed a couple of releases ago where the states are controlled by the Show valid states values client script which calls the ChangeRequestStateHandlerAjax script include. I would be very careful about modifying this behavior, though, as it is pretty closely tied to the change process. If you're going to change anything I would do a ton of testing first to make sure it doesn't affect the workflows or ui actions.


View solution in original post

4 REPLIES 4

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Which release are you on? I think it changed a couple of releases ago where the states are controlled by the Show valid states values client script which calls the ChangeRequestStateHandlerAjax script include. I would be very careful about modifying this behavior, though, as it is pretty closely tied to the change process. If you're going to change anything I would do a ton of testing first to make sure it doesn't affect the workflows or ui actions.


Brad,



If you want to remove the Assess state, and have the next available state be Authorize, how would you accomplish this?   I set the Assess state to inactive, and set the Process Flow Assess state to inactive.   I was thinking the display business rule called "Populate scratchpad with valid states" would then display the next state in the process as Authorize.   Instead it still displays "New", and nothing else.  



Any ideas?



Thanks,



Laurie.


I am having the same issue.... I need to remove assess to.   I did remove it, but my only state choices now are NEW, I need it to be NEW and Authorize.


sachin_namjoshi
Kilo Patron
Kilo Patron

Hi,



Please check OOTB client script "Show valid states values",   the script controls the state field to only show the current state and the next valid state for the change request.


You can customize as per your requirement.



Regards,


Sachin