- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2025 07:37 AM
I have created the reference qualifier visible in the screenshot to only display users where the company is the same as for the logged in user. Unfortunately it does not work, it still displays all users from sys_user:
Full javascript: javascript:gs.getUser().getCompanyID()
Any ideas what could be the issue?
Any ideas how to best debug this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2025 01:36 AM
Thanks all for the extensive information. I made it work now with a dynamic filter option calling an Ajax Script include which has a function retrieving the Company ID. Marked the option as solution which was closest to mine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2025 01:36 AM
Thanks all for the extensive information. I made it work now with a dynamic filter option calling an Ajax Script include which has a function retrieving the Company ID. Marked the option as solution which was closest to mine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2025 03:11 PM
HI @Julia Baus,
please consider revoking their answer as @MaxMixali is posting tens of messages with the same structure and they just copy paste if from some gen AI tool, look at their replies - they psot 40 replies in an hour. It's clear that it's cheating and in collision with ServiceNow Community Code of Conduct for all members
You said they were closest, but in fact they couldn't be more far... that's just FYI. Use this piece of information as you think it's fair :)))
Have a wonderful day
This reply is 100 % GlideFather and 0 % AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks, I have now marked my own solution as it is more or less the summary of the analysis in case someone is checking.
