Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Show incident number and short description in reference variable

jcwarren
Kilo Guru

We would like to be able to have an incident number and the short description visible in a reference variable on a service catalog form when a user selects the relevant incident number. We've also been unable to get the short description to show in the drop-down list using variable attributes.

 

Current variable view after selecting the relevant incident number.

jcwarren_0-1674751681240.png

Variable attributes: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=number,short_description;ref_ac_order_by=number,ref_ac_columns_search=true

 

Any guidance would be appreciated.

2 ACCEPTED SOLUTIONS

Thank you Soeren. I'd already corrected my typo. The desired result was to concatenate the incident number and short description. We solve the issue with an additional variable and a client script that populates the field.

 

Thanks again. 

View solution in original post

Thank you Basheer. I'd already corrected my typo. The desired result was to concatenate the incident number and short description. We solve the issue with an additional variable and a client script that populates the field.

 

Thanks again. 

View solution in original post

5 REPLIES 5

what script did you write can you share i also need to do the same thing