cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

@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
Super User II
Super User II

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

Hi @ChristianAbata 

 

I updated my screenshot.

neither  wrap compose output in string nor not have same result

 

case1.jpg

@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

Community Support
Community Support

 

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
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (10,265)