Sequencing choice list

Teresa Core
Kilo Expert

Sequencing choice items is something we are trying to figure out.  I can create a choice list for my incident item, however, if I do not put them in order, it will not show in alpha order on the form.

I know that I can set the order while adding my choices, but we are trying to find out if there is a way to not have to set the sequence at all.  IE, when a choice is added to the table, it is added without a sequence number?  or is there another way besides changing the choice list table to remove the sequence.

There are some instances where a few items are put in a specific order, however majority of choices are not and auto sorting would benefit.  Is there any way of doing this?

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Out-of-the-box sequence is not mandatory and not populated. Is that different in your instance? So you don't have to use it if not wanted. Or is your question different?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Let me see if I can explain this.

The choice list is not created in the standard of ServiceNow documentation.  Their process is to create items for the choice list directly on the Choice List Table and remove any sequence number while there.

I "being new to the team" would create a choice list by right clicking on the field and choosing choice list.  There, I would create my values and sort the list manually before submitting.

What is happening is, when I create the list via SNow recommendations, it has sequence numbers and it adds the number to Items that I am updating/creating.  They do not want the sequence number so the system will automatically sort the list for them.

Is there a way to submit my changes without the system automatically adding sequence number? If not, then I will have to create my items, then go to the choice list table and remove the sequence numbers.  Trying to avoid unnecessary steps.

Besides, I do not feel comfortable adding items to a table that ServiceNow Warns you about doing.

You could check if there is a Business Rule running on the sys_choice table, which auto generates the sequence field. If this is unwanted for your case, then disable it.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

JPWolper
Kilo Contributor

Choice lists sort alphanumerically based on the Value of each item - not the Label (the name as it is displayed). For more info, see this documentation.