- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:29 AM
Hi All,
I have below fields on a catalog form. When we select 'Hotel Code', the values under 'Hotel Status', 'Brand' and 'Country' will auto populate. And the 'Rate Category' is reference to a custom table. We also have brand and country in that custom table as well of type list.
So, the 'Brand' and 'Country' on the catalog form should check the custom table's 'Brand' and 'Country' if there is any match those rate categories should only get filtered and show them on the 'Rate Category' variable on the catalog form.
Can we use a Reference Qualifier for this? Please assist.
Thanks & Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:40 AM
something like this in the reference qualifier
javascript:'brandFieldIN' + current.variables.brandVariableName + '^countryFieldIN' + current.variables.countryVariableName;
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:41 AM
Hello @Joshuu,
Please adjust the reference qualifier for Rate Category as follow:
javascript: 'brand=' + current.variables.brand + '^country=' + current.variables.country
javascript: 'brand=' + current.variables.brand + '^country=' + current.variables.country
- "brand=" --> replace brand with the technical name of brand on your custom table
- "current.variables.brand=" --> replace brand with the technical name of your variable on the catalog item
- (Do the same 1 and 2 steps for country)
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:40 AM
something like this in the reference qualifier
javascript:'brandFieldIN' + current.variables.brandVariableName + '^countryFieldIN' + current.variables.countryVariableName;
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:59 AM
If brand and country field on your custom table are of type list then you need to use IN and not =
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 05:41 AM
Hello @Joshuu,
Please adjust the reference qualifier for Rate Category as follow:
javascript: 'brand=' + current.variables.brand + '^country=' + current.variables.country
javascript: 'brand=' + current.variables.brand + '^country=' + current.variables.country
- "brand=" --> replace brand with the technical name of brand on your custom table
- "current.variables.brand=" --> replace brand with the technical name of your variable on the catalog item
- (Do the same 1 and 2 steps for country)
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.