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

SanjivMeher
Kilo Patron
Kilo Patron

Can you also add the variable attributes as ref_qual_elements=product_line_name in the Product Group Name field?


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

find_real_file.png

 

This has been added to the Product Group Name variable, but the result is the same:

find_real_file.png

Are you referencing the right table. Both the table is referring to cmdb_m2m_model_component.

Also there is no such field as parent in that table.


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

The system name for the Bundle field is parent. When I hardcode the value, the reference qualifier does work correct.

 

find_real_file.png

^ this works fine.