- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:17 PM - edited ‎11-08-2023 11:18 PM
I created a form to show only specific groups using reference qualifiers to add/remove users from aad groups.
form and flow works fine, but when im using the form to select groups, is it possibly to only get the groups the user is not member of when adding and when removing only the groups the user is member of?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:51 PM
Hi @Jori
Let's try the below approach in the Reference Qualifier of your Group variables.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:32 PM
Hi @Jori
If possible can you share some screenshot please..!!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:43 PM
yes it's possible. this is for catalog form or normal form?
so how are you deciding whether to add/remove? is it based on some other field/variable
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:45 PM - edited ‎11-08-2023 11:51 PM
hi,
its catalog item that uses list collector for sys_user_group and reference qualifier uses such filters as name starts with x AND email starts with y.
also different forms for adding and removing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2023 11:56 PM
I shared solution for something similar in the past.
try to enhance it for your requirement
Add or remove member from the group
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader