Reference Qualifier on Catalog item not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 04:22 PM
I have a client callable script include that returns all product classifications referenced in the cmdb_software_product_model table.
I call this from a catalog client script to populate a select list variable, labeled ‘Select a function’, with both sys_id and display.
Once a user selects the ‘Select a function’ I want to build a reference qualifier based on the sys_id to populate ONLY records from the cmdb_software_product_model table that are assigned the function selected.
It appears that a sys_id is being returned from the value select in the function select box. But, the reference qualifier does not appear to be working for the function, 'Action games', as two values should be returned. When I hard code the sys_id in the reference qualifier it returns two results in 'Please select software.'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 04:41 PM
Hi @Mark Brogna,
Please use GlideRecord instead of GlideAggregate
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-19-2025 05:04 PM
the glide aggregate is needed to get a distinct list. But, that was not my question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 05:34 PM
Hi @Mark Brogna,
Could you please try including the sys_id on your obj on your script include. and use that as the value on your client script?
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-19-2025 08:04 PM
Hi @Mark Brogna,
Was this helpful?
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.