We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Reference qualifier not working for location field

Jake Adams
Tera Contributor

Hi,

I have a custom choice field 'Type' in the cmn_location table with choices as A, B, C and D. In the CMDB table I am using a reference field 'Location' which refers to cmn_location.

I have applied a simple reference qualifier as below:

Type is A or Type is C

But while click the magnifying glass in the 'Location' field it is only showing Type A records and not Type C. Am I missing something here?

1 ACCEPTED SOLUTION

Hi,

Should work fine

but try this as well -> are you sure the choice values are correct and those are not Choice labels.

javascript:'u_type=Data^ORu_type=Data Center';

regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Not applicable

Did you try Type A and Type C?

 

Yes I tried that as well, but it didn't show any records at that time

Ankur Bawiskar
Tera Patron

Hi,

try this advanced ref qualifier -> ensure you give correct field name and choice value and not choice label

javascript:'typeINA,C';

OR share what you tried?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi, 

Field name is u_type and choice values are Data and Data Center. I am using the below but still it shows only type related to Data

javascript:'u_typeINData,Data Center';