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

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Sarah Bouil ,

 

There is no wrong in using String field as choice field as you can see in OOTB may field as being used in that way. Once the choice are added to it they act as a lookup choice field or the choice list sepcification configuration.

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

-O-
Kilo Patron
Kilo Patron

I guess using type String (vs. Choice) gives one a bit more flexibility if the field's functionality needs to be changed (e.g. if one wants to give up Choice like functionality).

Other than that there is not much difference between using any of the two types.

Community Alums
Not applicable

Yes you can create Choice for  String type Field.

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

Hope it helps:)

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.