Is it recommend to create a Choice field with String type in ServiceNow?

Sarah Bouil
Tera Expert

Hi,

 

Kindly help me on below:

 

Is it recommend to create a Choice field with String type in ServiceNow?

1 ACCEPTED SOLUTION

Sanjeeva Reddy1
Giga Guru

Hi Sarah,

 

Kindly refer to the below links for more explanation.

 

https://www.servicenow.com/community/developer-forum/how-can-a-string-field-have-choices/m-p/2027598

 

https://www.servicenow.com/community/itsm-forum/string-type-field-vs-choice-type-field/m-p/749122

 

If the answer has helped you, please mark the answer as correct/helpful.

 

Regards,

Sanjeeva.Y.Reddy.

View solution in original post

8 REPLIES 8

Samaksh Wani
Giga Sage
Giga Sage

the  string type field behaves as  choice option if dropdown with None is selected.

 

SamakshWani_0-1691494100789.png

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

 

 

Thank you Samaksh. But I would like to know is it recommend to create a Choice field with String type?

Hello @Sarah Bouil 

 

It will be according to your requirement, suppose if you don't have any constraints with data type it is good to use string type only for choices, It will be easier for you to handle the stuffs with string functions and other things.

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Chetan Mahajan
Kilo Sage
Kilo Sage

Hello @Sarah Bouil ,

                                   Go through this link it will help you to understand How to Create Choice field in Servicenow 

 

Kindly Mark correct and helpful if applicable