web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 1. How to read multipl...
Power Automate
Answered

1. How to read multiple people picker field in power automate?

(0) ShareShare
ReportReport
Posted on by 8

Creating a automated flow when item in sharepoint list gets changed and then the email will be triggered to respective person mentioned against that particular row. The field/column from where we are picking up the emails are of type ‘Person and Group’ and it is allowing multiple selection . Designed the flow but email field returning a blank value. Looking forward for your help on this.

 

Categories:
I have the same question (0)
  • ThamiMtombeni Profile Picture
    71 on at

    Can you please share a screenshot of the flow .You can hide sensitive info. 

  • v-jefferni Profile Picture
    on at

    Hi @ShivaniB ,

     

    Would you like to send an email to multiple recipients based on a multiple selection person column?

     

    If so, please see the flow I created:

    vjefferni_0-1652173816637.png

     

    Details:

    1. Initialize an array variable, append all the person Emails to the variable to create an array of Emails .

    2. Use join function to concatenate emails with the ";" symbol and use the Emails string as the recipients of send an Email action.

    join(variables('emails'),';')

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • ShivaniB Profile Picture
    8 on at

    Hi @v-jefferni 

     

    Thank you for the reply.

    I have tried the same solution but I am getting below error. Looking forward to hear from you.

    ShivaniB_0-1652257190011.png

     Error Details :

     

    The value cannot be null. The action type 'AppendToArrayVariable' only supports values of types 'Float, Integer, String, Boolean, Object'.

  • v-jefferni Profile Picture
    on at

    Hi @ShivaniB ,

     

    You are using the outputs of list items from the SP list. So it seems there are blank fields for some records? If you have selected the correct value from the dynamic contents. You can add condition control and use length expression to check the amount of persons that have been selected in the person column is 0 or not.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • ShivaniB Profile Picture
    8 on at

    Hi @v-jefferni ,

     

    I have used SP List just with one data entry and GroupEmail column has emails in it .

    I tried the Compose action and tried to print the emails but it is showing blank value.

     

    And 

  • v-jefferni Profile Picture
    on at

    Hi @ShivaniB ,

     

    You need to post some screenshots of the flow and parameters that used in the flow, so that I can understand all the actions and find out the reason.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • ShivaniB Profile Picture
    8 on at

     

    Hi @v-jefferni  Please find some screenshots

     

    Get Items:

    Get Items.JPG

     

    Initialize Variable:

     

    initialize.JPG

     

    Compose:

    email.JPG

     

    Append Array Variables:

    array.JPG

     

    Send an email :

     

    outlook.JPG

  • v-jefferni Profile Picture
    on at

    Hi @ShivaniB ,

     

    I created the flow based on your scenario:

    vjefferni_0-1652337872479.png

    vjefferni_1-1652337986913.png

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • ShivaniB Profile Picture
    8 on at

    Hi @v-jefferni 

     

    Thank you for the reply.

    I tried the above solution  but I am still getting error.

    Here is the screenshot of the same:

     

    Failed.JPG

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @ShivaniB ,

     

    It may caused by the internal column name of PP, please check the "real" internal name in the raw outputs of the List items action.

    vjefferni_0-1652339977168.png

     

    It looks as below:

    vjefferni_2-1652340425909.png

     

    You can restrict the number of list items to 2 to shorten the outputs as the test scenario, after getting the internal name remember to remove the top count is fine.

    vjefferni_1-1652340070645.png

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard