I have a catalog item, and i need to filter the selection choices based on the user in the requested for field, how would i accomplish this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 06:28 AM
I have tried script includes and an onChange script:
I am now going to create a new variable with the same label and different variable name, but i still have to no clue how to only show the software licenses assigned to the user in the requested_for field.
I only want to filter the software asset field to the person in the assigned_to field when The Retrieve Software License option is selected. None of my script includes work and i have tried modifying some reference qualifiers too.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 09:34 PM
Hello Odunigan,
Can you share the reference qualifier that didn't work for you?
Thanks,
Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 10:08 PM
Hi Odunigam,
You need not to use any script include to achieve this.
I am giving you an example how to achieve such scenarios.
Lets say you have two variables of reference type
1. New Group(new_group) referencing to table sys_user_group
2. New User(new_user) referencing to table sys_user_grmember
We want to display the user depending on the group selected.
In the New user variable,we will define reference qual as javascript: 'group='+current.variables.new_group and variable attribute as ref_qual_elements=new_group
Hope this helps.
Regards
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 01:42 AM
If this resolved your issue then please mark correct. So that this thread can be removed from unsolved list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 02:41 PM
this *almost* works in New York, but the User selection dialog shows sysIDs instead of names, and returns Created date. I need the user name. Any ideas?