Advanced Reference Qualifier on Service Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 12:25 PM
Hi there,
I'm currently working on a catalog item that includes a reference variable called "Requested_by" (sys_user), and another called "Asset" (alm_hardware). I'm trying to make it so the "Asset" variable only displays hardware assets that have an assigned to value, which is the same as the "Requested_by" variable.
I've tried the following advanced reference qualifier, but I'm having no luck.
javascript:"assigned_to="+current.variables.requested_for
I'm aiming to have the "Asset" variable only display hardware assets that are assigned to the user specified in the "Requested by" variable.
Thanks,
Laurence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 11:21 AM
I just checked, and I am. Just an update, the variable is "requested_for". See my attached config screenshots. I am not sure what is at play here, but I assume there's some other configuration issue/bug going on that is affecting this reference qualifier from working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 07:25 AM
Hello @LaurenceT
The reference qualifier script looks good to me. I’d suggest checking the alm_hardware table directly to verify if the expected records are visible in the list view for the selected "Requested For" user.
One quick question: Are you seeing all records, or are you not seeing any records at all in the Asset variable?
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You
Juhi Poddar