- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:38 AM
HI all
I am trying to use the Microsoft Active directory v2 spoke - Action Add User to Groups
Our catalog form currently allows user to be added to single group only and has a variable called Groupname (allows only one group selection)
In the flow designer Add User to Groups there is a mandatory input Group Names array.string type
Will i be able to just pass my string value from catalog form to the Group name 1 i.e the first array element and leave the Group Names array blank and get the user added to Active directory - will this work
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 04:34 AM
Finally i was able to test this in my Dev environment but i used the Add Users to Group , It works with a single user as well , the workflow just passed a single user as a string and not an array but still the action completed successfully .Using that string input the action Add Users to Group action formats an array of string and uses it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 01:56 AM
Hi @LakshminnSn
I think, no, as it is mandatory.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 10:15 AM
I am having the same issue. Was trying to convert my older flows to use v2. The AD Spoke (v1) originally has an action to Add User (singular) to Group (singular), which we currently use in many flows. I am guessing that I will not be converting these actions yet, which is rather annoying. Not sure why they choose to not convert this one to v2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 04:34 AM
Finally i was able to test this in my Dev environment but i used the Add Users to Group , It works with a single user as well , the workflow just passed a single user as a string and not an array but still the action completed successfully .Using that string input the action Add Users to Group action formats an array of string and uses it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:23 AM
Thanks so much for following up! I will try this option.