How to use is(dynamic) One of My Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 07:00 AM
Im trying to use a filter 'Allowed groups is (dynamic) One of My Groups) and then Im clicking copy query in order to use this in A BR query but it takes the sys id of my groups. How can I make it dynamic so that it will take each time the groups of the login user;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 07:09 AM
Hi @Alon Grod
You have to create new dynamic filter for this.
refer the thread:
Help others to find a correct solution by marking the appropriate response as correct answer and helpful!!
Regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 08:50 PM
Hi @Alon Grod
Any feedback on my reply?
Help others to find a correct solution by marking the appropriate response as correct answer and helpful
Kind Regards,
Ravi Chandra.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 01:44 AM
Hi Alon,
As Ravi pointed in comments before you need to create a Dynamic filter. You can check doc link
Additionally, link shared before in comments before should help as well.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 01:47 AM - edited 06-30-2023 01:49 AM
Hi there,
I don't see any reason yet to create a new dynamic filter for this.
When you would copy the query, it should look something like:
assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744
Maybe different field name 🙂 though the sys_id, is the exact sys_id from the out-of-the-box One of my groups filter. That should work perfectly fine when applying a GlideRecord encoded query for example.
So your statement "but it takes the sys id of my groups" is not correct. Yes its a sys_id, no it's not the sys_id of your groups. Its the sys_id of the dynamic filter.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field