Forum Discussion
wellisi
Jan 15, 2019Copper Contributor
Flow Create unique items in a List
Hello
I have the following scenario:
1. we have a list in which you can create news entries. In this list you can assign one or more persons or groups with a people picker field.
2. Now in a 2nd list an entry should be created and assigned to the persons which were selected. So if several persons or a group was selected in the first list, it has do create unique items for each person
Is this possible with Flow and if so what are the steps?
- Doug AllenIron Contributor
I would also strongly recommend that any Flow questions be posted to the Flow Community.
https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity
The Flow PM has even asked that this be used instead of TechCommunity for Flow questions. If you get stuck or have other related Flow questions you can post there. But sounds like you got some answers, have a great day.
- Matt CoatsIron Contributor
Have you tried to build this Flow yet? I suspect Flow might react to the many-to-one nature of your People field by adding in a loop automatically, but that'd take some trial and error first.
- You can def. do this in close. As Matt said, if it doesn't auto loop, you will have to add a Apply to Each loop and then add that field into the mix. If that won't work on multiple's then you'll end up having to build an array variable from the separated list in the field, then loop through that. But it's def. doable.
- wellisiCopper Contributor
Hello
Thanks for your replies. So i started with the flow and i created the loop. It works if i select more than one user. It creats me Multiple items, but i cannot put the Output in my peoplepicker Claims field. This remains empty. The Output of the variable is:
i:0#.f|membership|admin@doamin.com;
How can i put this in a People field?
And the other Thing is when i assaing a Group, how can i get the members of this Group?