Look up select box reference qualifier not sorting by sequence

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 07:22 PM
I have a look up select box variable on my record producer called subcategory which is depend on another variable category.
Now i have created a look up select box variable and used the referecnce qualifier below still its sorting alphabetically not by sequence field on sys_choice table.
@Ankur Bawiskar Can you please guide what can be done to achieve this?
Regards,
Debasis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 07:50 PM
try this
put this in the variable attributes
ref_qual_elements=category
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 08:02 PM
Hi @Debasis Pati
Try prefixing the "ORDERBY sequence" in the Reference qualifier as below. It'll work.
Sample:
ORDERBYsequence^element=resolution_code^name=problem
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 09:02 PM
it has worked in the past using something similar
Lookup select box reference qual - sort by sequence
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2025 09:16 PM