The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Lookup Select Box - how use more "variable attribute" ?

davide_fais
Tera Expert

Hi ServiceNow Community,

I've a bug on ServiceNow. When I define a service catalog variable type "Lookup Select box" and set two variable attribute in this way:

variable attribute --> ref_qual_elements=u_variable_name2,is_searchable_choice=true

In the form, the field is duplicated (see screeshot below)

 

find_real_file.png

5 REPLIES 5

Brian Lancaster
Tera Sage

What are you trying to archive by doing this?  For lookup select boxes you should only need to pint to the table that has your values and then choose the filed you want to display under the Type Specifications tab.

Brian Lancaster
Tera Sage

Just looking at ServiceNow docs you should only need is_searchable_choice=true.

davide_fais
Tera Expert

ref_qual_elements=u_variable_name2 --> this attribute is used for refresh the list when u_variable_name2 changed

is_searchable_choice=true --> this attribute is used for make this field searchable

So one variable affects what is available in the other?  I have always just scripted it to clear the 2nd variable and reload the option using a client script.