cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TRISTAR
Level: Power Up

Multiple people picker values in FLOW

Hello,

 

I am using GetItems to get from a SharePoint list, I have multiple people chosen in the 'Owner' field and would like to concatenate them into a single item.

 

I was able to build the flow with 2 Apply to Each loops one embedded in the other, the output shows each loop generating the desired value and I'm appending this to an array variable, however when calling the variable from a HTML table, it seems to combine all of them under the header, is there a workaround for this ?

 

Here's my flow:

 

Capture.PNG

Variable 2 is a String

Variable 1 is an Array

Compose has this:

 

concat(items('Apply_to_each_2')?['DisplayName'],';',variables('OwnerList'))
Thanks !
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Multiple people picker values in FLOW

Hi @TRISTAR ,

 

Could you give an example of the specific effect of HTML table you want?

 

If you want to arrange the Display of everyone in Multiple people choices in a line with a semicolon, you could refer to the following method.

  • The basic structure is similar to yours, but I use String variable to store DisplayName of all the users in the current item.
  • Then use an array variable to append the field that need to be displayed in HTML Table.
  • The last step of Apply to each needs to clear String variable so that only DisplayName contained in the current item is retained in String variable.

 

Image reference:32.PNG

 

33.PNG

 

34.PNGFlow run history:35.PNG

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Multiple people picker values in FLOW

Hi @TRISTAR ,

 

Could you give an example of the specific effect of HTML table you want?

 

If you want to arrange the Display of everyone in Multiple people choices in a line with a semicolon, you could refer to the following method.

  • The basic structure is similar to yours, but I use String variable to store DisplayName of all the users in the current item.
  • Then use an array variable to append the field that need to be displayed in HTML Table.
  • The last step of Apply to each needs to clear String variable so that only DisplayName contained in the current item is retained in String variable.

 

Image reference:32.PNG

 

33.PNG

 

34.PNGFlow run history:35.PNG

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

TRISTAR
Level: Power Up

Re: Multiple people picker values in FLOW

Thanks much Barry, I had all the other pieces except the part where the Array had the specific column header and value updated.

 

Your code worked like a charm, thanks a ton !!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 321 members 3,667 guests
Please welcome our newest community members: