cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
henkerunesson
Frequent Visitor

HTTP request GET/POST results id to DisplayName

Building a flow that gets item from List A and post to List B.

 

 

 

In List A I have a field for choosing People and allow multiple choices, in the output body from GET I recive the "assigneId"

henkerunesson_0-1636702039429.png

 

When I POST to List B in the body I get, using expression items('Apply_to_each')?['assignedId']?['results']

henkerunesson_1-1636705167656.png

 

But I get an error "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected."

 

Struggeling and searched for a solution to solve this but Im stuck.

How can I from the GET request and the assigneId, POST this to the new list to the field assigned and display the correct user?

 

*** EDIT

Found a solution for my problem.

I was trying to POST the user information to the field (in my case) called assigned.

henkerunesson_0-1636789369225.png

But I couldnt get it to work, when I tried assignedId magic happend.

So in my POST request looks like this: 

henkerunesson_1-1636789505137.png

And now the Flow is updating the field "assigned", in cases when multiple users are assigned it does select one of the assigned correct and the other person is incorrect from the orginial post.

I have to troubleshoot why this is happening.

 

 

 

0 REPLIES 0

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,649)