cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wellisi
Regular Visitor

Flow Create unique items in a List

have the following scenario with Sharepoint online:
 
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?
 
Referring to my post here:
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @wellisi,

 

I have made a test on my side and have created two lists as below:

Capture.PNG 

The AssignTo column is a Person or Group column allow multiple seletions.

Capture.PNG 

 

The SingleAssignTo column is a Person or Group column don't allow multiple seletions.

 

Then I have created a flow as below:

Capture.PNG

 

The expression of SingleAssignTo Claims as below:

concat('i:0#.f|membership|',items('Apply_to_each')?['Email'])

When an item is created in the List A as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG 

 

The items would be created in the List B as below:

Capture.PNG

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
faustocapellanj
Memorable Member
Memorable Member

Hi @wellisi

From your post at the Tech Community site, it looks like you have something going already. If you do, can you please post screenshots of what you have built so we can take a look and maybe re-create it on our end? 

Thank you,

Fausto Capellan, Jr

Fausto Capellan, Jr
Did I answer your question? Mark my post as a solution! Did my response help? Please give it a thumbs up!
v-yuazh-msft
Community Support
Community Support

Hi @wellisi,

 

I have made a test on my side and have created two lists as below:

Capture.PNG 

The AssignTo column is a Person or Group column allow multiple seletions.

Capture.PNG 

 

The SingleAssignTo column is a Person or Group column don't allow multiple seletions.

 

Then I have created a flow as below:

Capture.PNG

 

The expression of SingleAssignTo Claims as below:

concat('i:0#.f|membership|',items('Apply_to_each')?['Email'])

When an item is created in the List A as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG 

 

The items would be created in the List B as below:

Capture.PNG

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi v-yuazh-msft

 

I tested your flow and it works perfect! Thanks for that!

 

So now what did you think about assign it to groups? Is it possible to get out the members of the group and create a unique item in the List B?


Regards

Hi 

v-yuazh-msft just posted a nice solution for my problem, so i can delete my old not working flowSmiley Happy

So i think i have the solution, combined with this Manual:

 

https://blog.portiva.nl/2018/06/05/microsoft-flow-perform-actions-on-users-in-a-sharepoint-group-usi...

 

It seems to work. 

 

But it only works with Sharepoint Groups. Is there any solution for Office 365 Security Groups?

Hi @wellisi,

 

I afraid that there is no any any solution for Office 365 Security Groups.

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,162)