The CreatorCon Call for Content is officially open! Get started here.

what is the use of table field in sys_choice (choice list form)

NiloferS
Tera Contributor

I have been creating choice records in choice list table and using those choices in a reference field in catalog item.

NiloferS_0-1718276082043.png

what should i give in the "table" field?

3 REPLIES 3

Community Alums
Not applicable

Hi @NiloferS ,

The Choice [sys_choice] table contains translated text for options that appear in choice lists.

The main fields for this table are:
  • Table: name of the table which choice applies to.
  • Element: name of the field this translation is used for.
  • Language: BCP 47 code of the language for the translated choice.
  • Value: English description of this choice.
  • Label: translated text that users see for this choice.

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/localization...

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak

In this scenario what could be the name of table?

Community Alums
Not applicable

Hi @NiloferS ,

You are create the choice dropdown on catalog item? 

There are 3 three tables in when in submit the catalog item form 

Request [sc_request]

 

Requested item [sc_req_item]

 

Catalog task [sc_task]

 

If you want to create field on catalog item than you need to create a variable and add the choice dropdown on that variable. 

SarthakKashyap_0-1718277957105.png

SarthakKashyap_1-1718278052211.png

From here you need to create new choice. I hope I'm able to answer your question.

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak