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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,333)