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 Apps / Passing Person field f...
Power Apps
Unanswered

Passing Person field from PowerApps to Flow

(1) ShareShare
ReportReport
Posted on by 274

Hi PowerApp Users,

Is it possible to pass a person field value to a flow. I know we can pass DisplayNames, Emails etc.. to the flow. But what about a person field as a whole. 

My flow will create another item in a different list with a Person field value. Assigning DIsplayname or Email to a person field doesn't work.

Any help appreciated.

Regards,

Kevin

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @kevingeorget,

    Could you please share a screenshot about your flow's configuration?

    Do you want to pass the whole Person field value (A record value) from your app to a flow?

    If you want to pass the whole Person field value (A Record value) from your app to a flow, I afraid that there is no way to achieve your needs in PowerApps currently.

    Currently, a flow could only accept Strings Text as parameters passed from an app. Passing a record value from an app to a flow is not supported within PowerApps.

     

    In addition, if you want to assign a value to a Person field within the "Create Item" action in your flow, I think the Email value or Claim value of a Person field value could achieve your needs. I have made a test on my side, please take a try with the following workaround:

    Flow's configuration:3.JPG

    App's configuration as below:4.JPG

    Set the OnSelect property of the "Trigger Flow" button to following:

    '20190122_case15'.Run(DataCardValue8.Selected.Claims)

    Or

    '20190122_case15'.Run(DataCardValue8.Selected.Email)

    On your side, you should type following:

    'YourFlowName'.Run(YourPersonFiledValue.Claims)

    Please take a try with above solution I provided, then check if the issue is solved.

     

    Best regards,

  • kevingeorget Profile Picture
    274 on at

    Hi @v-xida-msft,

    Thanks for the reply.

    Unfortunately the claims and email property doesn't work. Your understanding is correct, i'm trying to populate a person field with this value.

     

    Regards,

    Kevin

     

    Error details-

     

    '(P)******FLow'.Run(DataCardValue10.Selected.Email,DataCardValue27,DataCardValue28,DataCardValue12,DataCardValue13.Selected.Email,

    DataCardValue11.Selected.Value,DataCardValue1,DataCardValue13.Selected.DisplayName)

     

    {

    "status": 400,

    "message": "User value is invalid.\r\nclientRequestId: eb6a472c-12a7-4277-98d9-afd4139e662e\r\nserviceRequestId: 4878b89e-6003-8000-9774-e98bbade422b"

    }

     

    '(P)*********FLow'.Run(DataCardValue10.Selected.Claims,DataCardValue27,DataCardValue28,DataCardValue12,DataCardValue13.Selected.Email,DataCardValue11.Selected.Value,DataCardValue1,DataCardValue13.Selected.DisplayName)

     

    This is the value it hold, Operator is my Person Field-

    {
    "Status": {
        "Value": "Closed"
      },
      "Rejection_Reason": "<p>Rejected</p>",
    "Operator": "Kevin********@*********.onmicrosoft.com"
    }
  • kevingeorget Profile Picture
    274 on at

    Fixed it.

    I'm must have done the dumbest thing ever (for the day).

    I was assigning the value to the field directly rather than Field's claim property.

    My bad.

    Thanks for the reply again @v-xida-msft

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard