cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gadsweb
Level: Powered On

Add user to multi-user field

Hello,

I have a list of emails and I want to fill a multi user field in a list.

When I hardcode the array like that :

 

07-05-2019 19-37-18.jpg

Everything is fine in the Create Item Action

07-05-2019 19-39-57.jpg

Now, how to create the same array in a foreach loop from a list (foreach part is OK, I just want to know what to use).

I have tried Compose, concat but nothing does the trick.

 

Many thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Gadsweb
Level: Powered On

Re: Add user to multi-user field

I found the solution.

This may help someone else...

07-05-2019 20-01-59.jpg

View solution in original post

2 REPLIES 2
Gadsweb
Level: Powered On

Re: Add user to multi-user field

I found the solution.

This may help someone else...

07-05-2019 20-01-59.jpg

View solution in original post

Super User
Super User

Re: Add user to multi-user field

Hi @Gadsweb , thank you for your post in the Flow Community.

Please consider this ...

I have a list like the following:Capture-546.png

Using a combination of "Initialize variable" & "Set variable" I am able to iterate through every email in the SharePoint list.

 

Please see below:Capture-547.png

 

items('Apply_To_Each_Email_in_Emails_List')?['Email']

 

Please not above my naming for "Apply to each" matches how I have renamed it, amend to suit.

This means, I get all emails in my list in apply to each.

Here are the first 2 ...Capture-548.pngand 2 ...Capture-549.png

 

So, I am hoping this is the explanation and a decent demo of using the expressions you are looking for.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,699)