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
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,496)