why does invalid integer error comes when giving incident state as pending

priyajagyasi
Kilo Contributor

when I am changing the state of Incident to pending,it shows invalid integer text in red color below the field.Why is that so?

1 ACCEPTED SOLUTION

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Right-click on the State field and select Configure Choices.  


Check the value of the Pending choice.   It must be a number.


The state field is an integer field, so if you created a choice with a string as a value, you will get that error.


View solution in original post

5 REPLIES 5

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Right-click on the State field and select Configure Choices.  


Check the value of the Pending choice.   It must be a number.


The state field is an integer field, so if you created a choice with a string as a value, you will get that error.


Thanks Geoffrey.It is working now.


arnabwa
Giga Guru

Hi Priya,



Geoffrey is absolutely right about the situation. He just needed to mention "Show Choice List" instead of "Configure Choices". Rest of the instructions are same.
Just check the value of the "Pending" state. We are sure it is having a string as its value. Make it a number/integer. And then you are good to go !!!



Thanks,


Arnab


Hi Arnab,



Thanks a lot.It is working now.



Regards,


Priya