Current State change

paradise623
Giga Expert

Hi Everyone,

Where would I go to change the current.state= "2" ? I am trying to figure out what state the number "2" is for. Where would I navigate to find this information?

1 ACCEPTED SOLUTION

Mihir Mohanta
Kilo Sage

Hi ,



1.Go to the change form.


2.Right click on the state field label of the form and select show choice list option.


find_real_file.png



3.Then you can see the choice lists and their values of state field.



Thanks,


Mihir


View solution in original post

4 REPLIES 4

manikorada
ServiceNow Employee
ServiceNow Employee

Go to the dictionary entry of the 'state' field on that table and there will a tab 'Choices' at the bottom.


Abhinay Erra
Giga Sage

paradise,



  Each choice has a label and value. It is the value of the choice.


Go thru section 6 in the link


Customizing Choice Lists - ServiceNow Wiki


Mihir Mohanta
Kilo Sage

Hi ,



1.Go to the change form.


2.Right click on the state field label of the form and select show choice list option.


find_real_file.png



3.Then you can see the choice lists and their values of state field.



Thanks,


Mihir


chandrakanthre1
Kilo Explorer

Hai paradise, Every choice has a label and value which means backend value for every choice. Therefore current.state='2' refers to backend   value of the choice.



Customizing Choice Lists - ServiceNow Wiki