The CreatorCon Call for Content is officially open! Get started here.

To display list based on another field

shraddhap
Tera Expert

Hello All,

I am trying to filter one reference field based on another field. It's like we have a "Category" field which is a drop down menu and other field is

a "Test Category" which is a Reference field.

find_real_file.png

Suppose If we select Category as "Business Application" then I want to display respective list for "Test category" field whose category is

"Business Application.

I tried a Script Include but it doesn't work for me.

find_real_file.png

If anyone has any good advice on what I need to do would be appreciated!

Thanks & Regards,

Shraddha

1 ACCEPTED SOLUTION

ideally, what you want can be directly accomplished by making the 2 fields dependent. you dont need reference qual for that.


If that is not working, then you take the path of reference qualifier.



Can you show how you have added the ref qual, and also add logs in the script include just to see if its even being called or not


-Anurag

View solution in original post

5 REPLIES 5

tanumoy
Tera Guru

You have to put a advance reference qualifier for the test category field.



Reference Qualifiers - ServiceNow Wiki Section 4.3



Make sure the table which test category field is referring has a field that stores the values of category field in the incident form.