- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 10:36 AM
Hi guys,
Hope you're doing well. Need your help.
I'm trying to create a script action (or script step) in the Flow designer so i can use it within my flow.
What i want to do is to add a user to specific group, and then will probably remove the user later.
Screenshot for adding a user
The one for removing the user
Thanks for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 11:40 AM
Hi @AhuelieW,
Please share your input steps for the action and script inputs screenshot.
Thanks,
Yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 11:00 AM
Hi @AhuelieW ,
Your script is correct, in delete script no need to use while, you can go for if.
Please mark this as helpful and correct if this helps.
Thanks,
Yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 11:04 AM
Hi @YaswanthKurre ,
Thanks for taking a look at my scripts. However, nothing happens when I test this script action, nor when I use it in my flow. The user i specify never got assigned to the group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 11:40 AM
Hi @AhuelieW,
Please share your input steps for the action and script inputs screenshot.
Thanks,
Yaswanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 06:43 PM
Realized that i had to use the script input variables instead of the Action input
Thanks