- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 06:05 AM
Hi,
We have a catalog item form that has a variable that references sys_user (user field), field is 'Contact'.
We have another field to select a Request Item from sc_req_item table.
We want to put a Reference qualifier on here to only show RITMs where Opened by on sc_req_item = Contact field that is on this catalog item form.
I have tried advanced reference qual and done "opened_by=current.variables.contact" also tried "opened_by=variables.sysID" none worked , is this possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 06:26 AM
like this
javascript:'opened_by=' + current.variables.contact + '^active=true';
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 06:12 AM
this should work
javascript:'opened_by=' + current.variables.contact;
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
06-22-2023 06:25 AM
Thanks Ankur, this works however how do I add multiple filters with this? such as adding Active=true aswell? I tried ^ in between but its not doing the active ones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2023 06:26 AM
like this
javascript:'opened_by=' + current.variables.contact + '^active=true';
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader