Reference Qualifier not working

Ararana
Mega Expert

Hi all,

Working on a Service Catalog form and trying to link two reference fields together. I'd like the selection of reference A to filter the available options in reference B. ServiceNow offers a feature to support this in a Reference Qualifier, but I'm unable to get it working.

The first reference field:

find_real_file.png

 

find_real_file.png

 

 

The second reference field with the Reference Qualifier:

 

find_real_file.png

find_real_file.png

 

So with all this setup, when I go to the form I get No matches found

 

find_real_file.png

 

However from the table I can see there should be two options available:

 

find_real_file.png

 

Any help on what I might be doing wrong would be appreciated.

1 ACCEPTED SOLUTION

so your query should be

javascript: "parent="+current.variables.product_line_name.parent


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

7 REPLIES 7

so your query should be

javascript: "parent="+current.variables.product_line_name.parent


Please mark this response as correct or helpful if it assisted you with your question.

This was it. I actually had to call the child field, due to the table layout, but this lead me to it. 

 

Thanks again for your help.

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Can you try below once

javascript: 'parent='+current.variables.product_line_name;

In addition, can you also check if there is some read-only ACL in place once.

Also, in 1st qualifier there is an additional filter Bundle | is | core what happens if you remove it.

Also, can you try passing attribute as below.

ref_ac_columns=product_line_name,ref_auto_completer=AJAXTableCompleter