Hello,
I have a SharePoint list with all the users that have requested an Account. When adding a new item, a user needs to fill in his name, and his group. Currently, my list has 100+ entries and I would like to create a workflow, that counts how many users are in each group, and those value would be used to fill in a column in another list.
Basically, the 2nd list is just a copy of the first one, but it only has 2 columns: the GROUP NAMES and NUMBER OF MEMBERS of each group. This 2nd list needs to be updated automatically based on the first list.
Any ideas on how to do that?
Thanks!
I've managed to count the members from ONE group, and update that specific group in the other list, with the following workflow:
- get items (first list)
- if the group of the item = X
- increment a variable
- get items (2nd list)
- if the group of the item = X
- update item with that variable
And it works, it counts the members of group X in the first list, and updates the number of members of the same group in the second list.
How can I do the same thing, but for all groups (20+), in one go?!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
26 | |
26 | |
24 | |
23 | |
23 |
User | Count |
---|---|
61 | |
51 | |
44 | |
31 | |
27 |