- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 02:41 AM
Hope you can help. I am building a catalog item and need 2 reference variable to link to each other.
Variable 1 Faculty which a lookup select box referenced to a custom faculty table.
Variable 2 School also needs to be a lookup select box referencing the custom school table.
The custom school table has a parent field that links to the Faculty table.
So I need the school variable to only show the records in the school table that have a parent of the option chosen in the faculty variable.
I have posted a picture of the simple form so far. How do I achieve this? many Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 02:56 AM
Hi Mark,
in the dependent variable record under tab "Type specification", try the following in the Reference qualifier field (optionally add more static encoded_query like active=true or something to the string):
javascript: 'parent=' + current.variables.my_facility_var;
Import: You have to the add the attribute "ref_qual_elements=my_facility_var", so the filter is dynamically recalculated. See here: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-mana...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:12 AM