- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 01:51 AM
Hi,
I'm adding users to a group. I am doing a API call here and sending the users first_name. I'm using a flow designer and getting catlog variables and then the users are in list collector.Now in a custom action I'm trying to take the values of list collector which is not working so I went for lookup records and for each loop and using it and it is working but the problem is if there are multiple users then for every user doing a api call is not feasible . So is there any way I can get all users first_name in some array and then send this array? If yes pls ellaborate?
Solved! Go to Solution.
- Labels:
-
Request Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 01:37 AM
Hi,
Yes there is, by storing all the values in a Flow variable.
Example below, here I store the first names of a number of users in a Flow variable as a comma separated string.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 01:54 AM
Hi,
it would be nice if you share screenshots for better understanding
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2022 01:37 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2022 02:39 AM
Hi,
Did my answer resolve your question?
If so, please close this thread by marking my answer as correct.
Otherwise tell us what more you need help with.