- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 02:53 AM
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.
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.
If anyone has any good advice on what I need to do would be appreciated!
Thanks & Regards,
Shraddha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 03:23 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 03:03 AM
What you need is to make these fields dependent.
read more here
Creating New Fields - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 03:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 03:23 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2016 04:39 AM
Thanks Anurag... It worked, the ref qual was not properly passed.. now it's fine, working properly.
Thanks for the help and suggestion.