Unable to dynamically filter HR service field using client script due to OOB advanced reference qual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi Community,
I'm working on a requirement where I need to dynamically filter the hr_service reference field based on the selected assignment group using a client-side onChange script.
Issue:
Even though the script executes and returns the expected filter string (e.g., hr_criteria=b122d28fdb766784cdb9d2984b961), the hr_service field does not apply the filter. I suspect this is because the field already uses an OOB advanced reference qualifier via the Script Include.
I do not want to modify the OOB Script Include.
What iam looking for is, i want the reference qualifier to work as it is essential and I want my requirement to be added as extra filter ie., both the filters needed to be applied on the field.
Any guidance or best practices would be greatly appreciated!
Thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
What exactly is the use case/business requirement? Where are you trying to limit the returned HR services based on the selected Assignment group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi,
I have a requirement where the hr_service field on the HR Case form should show services based on two conditions:
- If a subject person is selected, show HR Services matching their HR Criteria (this works via the OOB reference qualifier).
- If a specific assignment group (e.g., "HR Snow Group") is selected, show only HR Services with a specific HR Criteria (e.g., "HR Snow Employees").
Currently, the OOB reference qualifier filters services based on the subject person, but it also includes global criteria services that aren't relevant to the selected assignment group.
I’ve tried using a client script with g_form.setFilter() and a Script Include to apply the assignment group filter, but it doesn’t override the OOB qualifier.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi,
I have a requirement where the hr_service field on the HR Case form should show services based on two conditions:
- If a subject person is selected, show HR Services matching their HR Criteria (this works via the OOB reference qualifier).
- If a specific assignment group (e.g., "HR Snow Group") is selected, show only HR Services with a specific HR Criteria (e.g., "HR Snow Employees").
Currently, the OOB reference qualifier filters services based on the subject person, but it also includes global criteria services that aren't relevant to the selected assignment group.
I’ve tried using a client script with g_form.setFilter() and a Script Include to apply the assignment group filter, but it doesn’t override the OOB qualifier.
Thanks in advance!