cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Sharepoint list setting is person/group- How to get these into flows (updating excel rows)

HI,

I have a Sharepoint list setting is person/group- How do I get these into flows (updating excel rows) without making it apply to each? I just want it to take the name/names in that field and update the information. 

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

Hi!

Let me see if I understood your challenge.

You have a sharepoint list, with a multiperson column.

So, every now and then you need to store each list item related info as a row in an Excel table, one of its columns should host multiperson related info. So in case multiperson column has more than one value, you just need to store all email addresses in a single cell from that row.

Is my assumption right?

If so, I would add an 'Initialize variable' action block, type array, lets call it myMultiPersonArray, then use 'Apply to each' assigning as its input the multiperson column content, inside it I would add an 'Append to array'.

NExt after the 'Apply to each' I would add a 'Compose' action block and assign the following WDL expression to it:

join(variables('myMultiPersonArray'),';')

Finally I would add a 'SEt variable' action block to delete myMultipersonArray content, just in case you are iterating through several Sharepoint list items. You can reset its value by means of the following expression:

concat('')

 

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
efialttes
Super User
Super User

Hi!

Let me see if I understood your challenge.

You have a sharepoint list, with a multiperson column.

So, every now and then you need to store each list item related info as a row in an Excel table, one of its columns should host multiperson related info. So in case multiperson column has more than one value, you just need to store all email addresses in a single cell from that row.

Is my assumption right?

If so, I would add an 'Initialize variable' action block, type array, lets call it myMultiPersonArray, then use 'Apply to each' assigning as its input the multiperson column content, inside it I would add an 'Append to array'.

NExt after the 'Apply to each' I would add a 'Compose' action block and assign the following WDL expression to it:

join(variables('myMultiPersonArray'),';')

Finally I would add a 'SEt variable' action block to delete myMultipersonArray content, just in case you are iterating through several Sharepoint list items. You can reset its value by means of the following expression:

concat('')

 

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



@Anonymous 

I just saw you marked this topic as solved. Thanx for your kindness!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



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 (6,520)