- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 06:17 AM
Hi, I have a catalog item and in one of the variables i am trying to filter the records that are shown to only show those that either have the same company as the u_company variable in the catalog item or that have the company with the following sys_id : 232e52426f2e1240ca2ed6b2be3ee498
i wrote an advanced reference qualifier and i can't seem to find a way to put both conditions at once, do you know how i could do that ?
my advanced reference qualifier currently looks like this but i have tried other things :
javascript: "u_company=" + current.variables.u_company || "u_company=232e52426f2e1240ca2ed6b2be3ee498";
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 06:31 AM
try this
javascript: "u_company=" + current.variables.u_company + "^ORu_company=232e52426f2e1240ca2ed6b2be3ee498";
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
10-23-2023 06:36 AM
@Adam_Michies Please use the following reference qualifer.
javascript:"u_company=" + current.variables.u_company+"^ORu_company=232e52426f2e1240ca2ed6b2be3ee498";
Hope this helps.