cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NetworkAdmin
Helper I
Helper I

Set Content Approval Status - Fails for "Approve" Only

I have created an approval flow, with three levels of approval. At all levels of approval, when the "Set content status" equals "Reject" the flow runs succesfully. As soon as I try to "Approve" the flow fails with an Etag error:

 

{"Etag":"\"{95DEB707-C2D1-4881-8AED-005F9433BC7E},4\"","Message":"The ETag of this item does not match the one used for setting content approval status. The contents of the item may have changed before the action was completed.","Succeeded":false,"ApprovalErrorCode":"etagMismatch","ApprovalLink":"https://__________/CorporateLibrary/Documents/Corporate_Resources/HR_Resources/Position%20Descriptions/Test-Folder/Document3.docx?etag=%22%7b95DEB707-C2D1-4881-8AED-005F9433BC7E%7d%2c4%22"}

clientRequestId: 8ad3f330-2cc2-42e7-9a7f-191c80aa3011
serviceRequestId: 8ad3f330-2cc2-42e7-9a7f-191c80aa3011

 

I have ensure the ETAG is drawing from the third "Get file meta data", and tried testing with existing documents, new documents, at all status levels (pending, rejected, approved). Fails every time. flow1.PNGflow2.PNGflow3.PNG

 

flow4.PNGHelp! 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @NetworkAdmin ,

 

Please make sure to add a "Get file metadata" action before all of the "Set content approval status" action , and set the Etag field in the "Set content approval status" action with Etag dynamic content from the previous "Get file metadata" action.

 

Best regards,

Alice       

 

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

View solution in original post

1 REPLY 1
v-alzhan-msft
Community Support
Community Support

Hi @NetworkAdmin ,

 

Please make sure to add a "Get file metadata" action before all of the "Set content approval status" action , and set the Etag field in the "Set content approval status" action with Etag dynamic content from the previous "Get file metadata" action.

 

Best regards,

Alice       

 

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

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,693)