Reference Qualifier not Working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I am having a requirement to show the users in a field named "Developer name". Condition is when "Developer type" field is set to internal then it should display one more field named "Development group" and when user selects the group then only the group members should be visible to the field "Developer name" . But if Developer type is set to external then hiding Development group field and want all users to be displayed in the Developer name field. Developer name field is of reference type and I have added an Advance qualifier(shared screenshot). I have created a script include (screenshot of code shared) to set the qualifier but its not working. I have tried to test the script include code in background script and its returning the correct values but not working when called from advance qualifier. Can someone please help me with this. Quick response would be appreciable as I need to implement asap. Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Yeah this isn’t your logic, it’s just how catalog variables behave. Advanced reference qualifiers don’t really play nice with current.variables, which is why it works in background scripts but not on the form.
For catalog items you’ll need to use GlideAjax and set the qualifier dynamically in an onChange client script. That way when the group changes, the Developer field re-filters properly.
Advanced qualifiers are fine on normal table fields, just not reliable for catalog variables.

