Assigne To filtering based on Assignment Group

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 05:07 PM
How does the Assigned To reference field get filtered when you change the Assignment Group value? When changing he Assignment Group value, out of the box the Assigned To value is removed and the lookup shows the list of users associated with the newly selected Assignment Group. I would have expected to see maybe a Reference qualifier or a client script or something.
In addition to this problem, I have a scoped application with a custom table that extends Task. If I try to update the reference qualifier with a javascript script include, it appears I'll be updating the underlying Task table? Or will my changes only affect my custom table? I ask because the Assigned To field is one of the task fields I inherited into my custom table.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 05:13 PM
How does the Assigned To reference field get filtered when you change the Assignment Group value? When changing he Assignment Group value, out of the box the Assigned To value is removed and the lookup shows the list of users associated with the newly selected Assignment Group. I would have expected to see maybe a Reference qualifier or a client script or something.
It is done by field dependency. The dependent field is set as 'Assignment Group'.
This doesn't work on all reference fields, there is some magic that goes on. I have inquired about it on the forum before and it seems to be a black box type of function. There is no back-end script to speak of that can be seen to work it out.
In addition to this problem, I have a scoped application with a custom table that extends Task. If I try to update the reference qualifier with a javascript script include, it appears I'll be updating the underlying Task table? Or will my changes only affect my custom table? I ask because the Assigned To field is one of the task fields I inherited into my custom table.
Use Dictionary Overrides to change the reference qualifier without overriding it on other tables.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2021 06:49 AM
Thanks
Del

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2021 04:35 PM
I think that could work if you remove the field dependency and do it purely by reference qualifiiers, checking the value of both fields before returning the appropriate ref qual.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022