Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to get the Serial number alone from ALM Haredware table to be visible in the reference type

Negha1
Tera Contributor

I want only the serial number to be searched and poupulated in the REFERENCE type variale name"Serial number" from ALM Hardware table in the catalog item form.

 

As of now iam getting both the Display name of an asset and the serial number but i want only the serial number to be searched and selected.

 

Negha1_0-1737132297368.pngNegha1_1-1737132319249.png

Provide me an Answer for this. i want only the Serial number, like in right an side in the first picture,

 

7 REPLIES 7

You can't with a reference field. It's the entire system no nothing. You can try what @Viraj Hudlikar  said and use a lookup select box.

Hi @Negha1 ,

You need to update the Variable attributes field on your catalog item to exactly this string.

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=serial_number,ref_ac_columns_search=true,ref_ac_display_value=false

 

Happy to help! If this resolved your issue, kindly mark it as the correct answer   and Helpful and close the thread 🔒 so others can benefit too.

Warm Regards,

Deepak Sharma

Community Rising Star 2025



Viraj Hudlikar
Tera Sage

Hello @Negha1 

 

If you want the variable to display the serial number, try a Lookup Select Box type variable.  A reference variable will allow search on other fields but display the Name field or whatever the display column for that table is in your environment.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.