- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 11:38 AM
I have created a form to add users to Servicenow groups.
For that I created a MRV with 2 reference fields (User name and Group name:
My flow is not passing the For Each Item step, can someone please tell me what is the right way to add the users from that reference inside MRV to the group.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 12:38 PM
Hi @rafaelalves4337,
The Flow looks ok to me, can you share some screenshots of individual actions?
I have created something similar in the PDI and it works fine, note that it will throw an error if the user is already a member of the group.
And what did you mean by is not passing the For Each Item step? Did you get an error of some sort?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 12:56 PM
@rafaelalves4337 - can you share the execution detail of the second row?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 01:01 PM
For some reason it's not changing from 1 to 2, it looks like only 1 is visible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 01:05 PM
I see what's happening, you have the End flow at step 7.
The Flow has been terminated after the first iteration, you will need to move it after For Each action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 01:08 PM
What if I just remove the END flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 01:09 PM
Well, I can't see the entire Flow nor do I understand the logic behind your Flow, so I can't comment on that