- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:25 AM
Our Azure integration is pulling in a range of accounts that we don't want to show in drop down lists for Assignment of activities etc. Whilst my tech team work on the root cause of that, I have marked all of the accounts as Active - False, thinking that this would stop them showing, but it has not.
Any ideas as to why?
If offering advice, please be gentle, I'm not a techie at all and all SNow knowledge is self taught, so please don't assume I know anything 😉
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Customer Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:41 AM
You may need to adjust the user reference field to filter out inactive users.
This example shows the Assigned to Field for incidents which is the same for all Assigned to fields in the task table so this will affect all forms using this field such as SCTASKS, CHANGES, ETC, you may have to do a dictionary override to that specific table.
Right Click on the Assigned To field and Click on Configure Dictionary
In the Reference, Specification tab Add the Active Field is true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 05:46 AM
Hi,
I'm unsure what you mean by "duplicates". I don't believe your original question was around duplicates showing. We were talking about inactive ServiceNow user accounts showing in a field that is referenced to the sys_user table.
Perhaps the information you know on your side is that the accounts that were showing were duplicates, but you set them to inactive. I just wanted to clear up that we...here...don't know anything about duplicates. More so just literal "inactive" accounts.
As far having ideas around why inactive users would show up IF that business rule is there and "looks the same", there could be a few reasons. Firstly, to ensure we're all on the same page can you provide screenshots of "user query" being searched in list view for your business rules, then a screenshot of the business rule of the settings for it and another of the script section. Then, can you provide a screenshot of the dictionary setting of the assigned_to field or whichever field it was that these inactive accounts were showing in?
I'll provide examples below:
BR list view query of "user query"
BR settings
BR script
Dictionary for assigned_to at Task table level
The dictionary override record for Incident just to show that there still isn't a condition for active=true
And now examples of this in action, OOB
User who is inactive
Normal ITIL user when looking at the assigned to field will not see him
As Admin and per the user query business rule...I would...see him...
So anyways, this is a long post, but I'm really trying to express that OOB, this was already a thing. While your current issue, for that table, for that field, may be resolved by adding "active=true"...anywhere else in your instance these false users would show up if this business rule is not functioning properly.
So you could have 2 business rules named the same and it cause issues. You could be eyeballing it thinking the business rule is the same and active and there may be a tiny difference. There could be some other change within your instance that is causing this. Either way, feel free to compare precisely against my screenshots. You'll see I have NO active=true going on here and yet only admin can see active, non-admin can not.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:41 AM
You may need to adjust the user reference field to filter out inactive users.
This example shows the Assigned to Field for incidents which is the same for all Assigned to fields in the task table so this will affect all forms using this field such as SCTASKS, CHANGES, ETC, you may have to do a dictionary override to that specific table.
Right Click on the Assigned To field and Click on Configure Dictionary
In the Reference, Specification tab Add the Active Field is true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 07:50 AM
Thank you, this worked like a charm (for everyone expect me as I'm Admin) but I can suffer that!
Really appreciate your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2024 11:13 PM
I have made the changes according to your explanation but it is still showin inactive users .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 07:39 AM
Are all the inactive users while getting listed showing up in blue?