Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Variable value show based on order

Not applicable

I have a requirement to display records from a custom table in a specific sequence (based on defined order) instead of the default alphabetical order in a type of lookup select box variable.

Please help with the appropriate approach to achieve this.

 

Thank you 

Ramji

7 REPLIES 7

Tanushree Maiti
Tera Sage

Hi @Community Alums 

 

If you have lookup select box called 'u_var', then use the following reference qualifier: "ORDERBYu_var" in the type specification.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Not applicable

Hi @Tanushree Maiti , 

Thank you for the quick response. I tried the suggested approach, but it is not working on my end.

Hi 

U can try  Attributes: order_by=uvar or try advanced reference qualifier 

Hi @Community Alums 

I double checked , For us with Custom table , its working fine. Make sure you have selected your look up  value field properly .

Screenshot 2026-02-27 120958.jpg

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: