Customizing Order of Items in List Collector

LokeshwarRV
Tera Contributor

 I have created a select box with fields like Production, Staging (SQA), and QA. After saving it, I changed the type to a list collector. However, in the form view, the items are displayed in alphabetical order (Production, QA, Staging). I want the items to be displayed in a specific order: first Production, then Staging, and finally QA. The order is not working as expected. How can I customize the order of items in the list collector to achieve this?

2 ACCEPTED SOLUTIONS

@LokeshwarRV 

It worked for me using this variable attributes

ref_ac_order_by=order

Variable config

AnkurBawiskar_1-1747831435361.png

 

AnkurBawiskar_2-1747831472330.png

 

 

Before: when I didn't add the variable attribute

AnkurBawiskar_3-1747831492388.png

 

After: Added variable attributes It showed me correct order

AnkurBawiskar_0-1747831403240.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

@LokeshwarRV 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@LokeshwarRV 

Would you mind closing your earlier questions by marking appropriate response as correct?

Members have invested their time and efforts in helping you.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@LokeshwarRV 

how did you configure it?

the choices are coming from where?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Firstly  I Manually  created the three choices in select box and changed type to List Collecter

@LokeshwarRV 

It worked for me using this variable attributes

ref_ac_order_by=order

Variable config

AnkurBawiskar_1-1747831435361.png

 

AnkurBawiskar_2-1747831472330.png

 

 

Before: when I didn't add the variable attribute

AnkurBawiskar_3-1747831492388.png

 

After: Added variable attributes It showed me correct order

AnkurBawiskar_0-1747831403240.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader