- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 02:20 AM
On the below form, I'm wanting to add a filter within the 'Assignment group' field:
However, what I'm wanting to do is restrict the number of 'Assignment groups' that appear. The groups should only appear where the Active flag is true and their parent's parent is 'Markets'.
I've tried the following reference qualifier in the Dictionary Entry Override on the assignment group field, but it's not working:
I was just wondering if somebody could explain why it's not working and what I need to only show groups where the Active flag is true and their parent's parent is 'Markets'.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 05:00 AM
@Daniel Borkowi1 ; yes your correct and there is no need of javascript in this case (since we are overriding with simple query)
something like : active=true^parent.parent=sys_id of the Markest group^EQ >>> works
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 04:32 AM - edited 06-19-2023 04:46 AM
Hi @matthew_hughes, your script should deliver a Encoded Query, so in your case it should deliver:
"active=true^" +"parent.parent.name=Markets"
Hope that helps.
Greets Daniel.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 04:34 AM - edited 06-19-2023 04:57 AM
active=true^parent.parent=sys_id of the Markest group^EQ
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 04:48 AM - edited 06-19-2023 04:50 AM
The current is referencing the record there the assignment group field is placed. So you shouldn't use current in this kind of reference qualifier, because the query is independent of this record.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 05:00 AM
@Daniel Borkowi1 ; yes your correct and there is no need of javascript in this case (since we are overriding with simple query)
something like : active=true^parent.parent=sys_id of the Markest group^EQ >>> works
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025