Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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
Kilo Patron

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: