We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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 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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti