Forum Discussion

wellisi's avatar
wellisi
Copper Contributor
Jan 15, 2019

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?
 
  • Matt Coats's avatar
    Matt Coats
    Iron 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.

    • ChrisWebbTech's avatar
      ChrisWebbTech
      MVP
      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.
      • wellisi's avatar
        wellisi
        Copper 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?

Resources