Choices are not displaying as per the sequence given but displaying as per alphabetical order

SajithM
Tera Contributor

In the choice field, I have an option "Others" This should always show at the bottom.

I added the sequence but it is not working as expected

10 REPLIES 10

@SajithM 

Did anyone add reference qualifier on that reference variable which points to sys_choice?

Did you check with some other user? might be user preference for that user

share ref qualifier screenshot of that variable configuration

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

SajithM
Tera Contributor

SajithM_0-1746101934310.png

I am an admin and it does not work for me. I have added the variable attribute but it does not work after that as well

@SajithM 

in the reference qualifier add this

existing ref qualifier ^ORDERBYsequence

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

When I add that, it shows all the choices. So the existing filter based on dependant value is not working. It is showing all the choice fields instead of the filtered one.

I believe there is something minor that I am missing.

Please help me out and thanks for the swift response.

Robert H
Mega Sage

Hello @SajithM ,

 

Please use this Reference qualifier , after the javascript :

'name=incident^element=subcategory^inactive=false^dependent_value=' + current.variables.var_rsg_category + '^ORDERBYsequence'

 

And put this into the Variable attributes field:

ref_qual_elements=var_rsg_category

 

Regards,

Robert