Changing the Status Field values

tekkytommy
Tera Contributor

Hi,

We have a requirement to change the status values in ServiceNow in one of the applications.

If I change the status names or values, will this break anything?

In the Form Design, I see Draft [-5] and again Draft [-6].   What does this mean?

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Tom,



If you change the existing label value then make sure corresponding change is done in any script which might be using this field.


Stijn Verhulst3
Kilo Guru

Hi Tom,



I can only agree with Pradeep but also take into account which tables make use of the status field. It can be that for example 5 tables all use the same status field. So changing the value can cause wrong statuses across multiple applications.



Also there's a possible impact on all kinds of OOB scripts which look at the value of status fields.



Sometimes it's a good option to define new choices on a choice list for a particular table/field. This way you override the existing choices.


Plus; keep in mind of redefining your active/inactive states in case of changing/add new values: TaskStateUtil - ServiceNow Wiki



Kind regards,



Stijn


The Status fields I am referring to are in Release Management. To modify the Status field, I selected:   Configure, then Form Design.  



When I see Draft [5], On Hold[11] - what does the number mean? Does the number indicate that 5 tables reference the <Draft Status>? Should I hide the out-of-box Status and create a new Status field?



Is there a way to find out if there are any OOB scripts associated with this field?


HI Tom,



Number here indicates the choice value for the state field. However you can make the field "State" choice value inactive and create a new choice values in the same field state.