- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2018 06:45 AM
I need to create an Advanced Reference Qualifier. I have service catalog item that asks to select which user is requesting this item (requester field). Once that user is selected, they must select their computer (from cmdb_ci_computer). I want to use the advanced reference qualifier to show only computers assigned to the user. So I need to create a new advanced reference qualifier for the 'user_pc' variable that will be able to use the 'requester'. Can anyone help me with how to do this?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2018 07:02 AM
I think Mike is close, but missing the actual variable value.
javascript:'assigned_to="+current.variables.requested_for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2018 09:29 AM
I think Chuck is close, but might be missing the variable attribute. If you're doing this on a Service Catalog variable then you also need to add the variable attributes ref_qual_elements=requested_for or else the value of this variable will not be available to the reference qualifier. See https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/script/server_scripting/concept/c_RefQualifiersForSvcCatVariables.html