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.

Add Variable attribute to Lookup Select Box field

Shidhi
Tera Contributor

I have been trying to add an additional column to the field selection but cannot do it.
Below is the code 

ref_qual_elements=technology;ref_ac_columns=sys_class_name;ref_ac_order_by=sys_class_name;is_searchable_choice=true

The backend name of the Class field is sys_class_name and below is the screenshot of the variable I need to get the Class besides the name.

Shidhi_0-1724954235929.png

Thank you!



1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Shidhi Please update the type specification of your variable as follows.

 

Screenshot 2024-08-29 at 11.51.23 PM.png

Here provide the comma separated list of columns which you would like to to show as label. 

 

Here is how the output looks.

Screenshot 2024-08-29 at 11.53.45 PM.png

Please mark the response helpful and accepted solution if it manages to answer your question.

View solution in original post

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@Shidhi Please update the type specification of your variable as follows.

 

Screenshot 2024-08-29 at 11.51.23 PM.png

Here provide the comma separated list of columns which you would like to to show as label. 

 

Here is how the output looks.

Screenshot 2024-08-29 at 11.53.45 PM.png

Please mark the response helpful and accepted solution if it manages to answer your question.

Thank you @Sandeep Rajput