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

HTTP POST validateupdatelist for people field not working

to prevent infinite loop trigger when item modify it self

I tried to apply John Liu posting 

http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-micros...

 

but I have some trouble with it

 

He used double quotes for user value output

but It didn't work with JSON errors

so I used single quotes as below

[{'Key':'i:0#.f|membership|yyy@xxx.com'}]

 

It worked with no error but field value wan't updated

 

{
"ErrorMessage": null,
"FieldName": "peoplefield",
"FieldValue": "[{'Key':'i:0#.f|membership|yyy@xxx.com'}]",
"HasException": false,
"ItemId": 11
}

 

other text fields are updated very well but only people field is not changed.

Does anybody have any idea why It doesn't work?

 

thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: HTTP POST validateupdatelist for people field not working

@lainz  I see everything ok, just to know the email of the person that you are trying to use has colaborate permissions in your sharepoint list?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: HTTP POST validateupdatelist for people field not working

hi @lainz  could you share an screanshot?  do you add 

[{'Key':'i:0#.f|membership|yyy@xxx.com'}] into a compose action?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Frequent Visitor

Re: HTTP POST validateupdatelist for people field not working

Hi @ChristianAbata 

 

I updated my screenshot.

neither  wrap compose output in string nor not have same result

 

case1.jpg

Highlighted
Super User III
Super User III

Re: HTTP POST validateupdatelist for people field not working

@lainz  I see everything ok, just to know the email of the person that you are trying to use has colaborate permissions in your sharepoint list?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Highlighted
Community Support
Community Support

Re: HTTP POST validateupdatelist for people field not working

 

Hi @lainz ,

 

The flow works on my side if I add double quotes. Please note that it needs to be double quotes in English.

Image reference:

115.PNG116.PNG117.PNG

And please try to set bNewDocumentUpdate to false. You could set a single Http request action to update the people field.

 

Best Regards,

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,436)