Flow that automates adding/removing group type to a user group after Request from Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2025 12:43 AM
Hi all,
i need some help. We have a catalog item for users to request if they want to add or remove group types like itil etc. The user puts the information in variables and after that i call them in the flow.
And how can i change the group type? If i select the table user group there is only a field Type. And in this field i cannot enter either the variable or the sysid of the variable.
Has someone a solution? Or an idea how i can automate it. It must be via Catalog Item the request.
Thanks
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2025 02:11 AM
Step 3 is lookup on Group?
share screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2025 02:16 AM
there are also screenshots on the top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 12:18 AM
Is there any way to debug the script to see what happens?
It doesn't work for some reasons. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 05:09 AM
Hi GP,
i found out that the script works if i debug it in the flow designer with RITMs.
But if i run it via the catalog item in /esc it doesn't work. So the problem is somewhere else
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 06:14 AM - edited 10-06-2025 06:21 AM
Hi @AlexanderH23091 ,
Can you run the flow as "System user"
To update a Flow Designer flow to run as the System User in ServiceNow, you must change the Run As property in the flow's settings. This is required when a flow needs elevated permissions to execute actions that the user who initiated the flow does not have
In addition to that, The flow for a catalog item is often triggered by an approval on the parent Request record (sc_request). If the parent request is not automatically approved or no approval logic is in place, the flow might not trigger correctly.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
