



Hi everybody,
I have created an Approval flow which worked pretty well, until I had to update a document.
In my flow I have used 3 actions with Set Content Approval Status:
- for setting the Approval status to: Pending
- for setting the Approval status to: Approved
- for setting the Approval status to: Rejected
For all 3 I have used the ETag from "Get file metadata"
Steps:
- Update the document in SharePoint
- Start the approval flow
- The approver recieve an approval email and approves the document.
Expected result:
The file should have Approval status: Approved
Present result:
The flow fails because of the error: 409 "message": "{\"Etag\":\"\\\"{937EEAFB-5AB0-4C6A-A642-FB0563D19680},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\ .......etag=%22%7b937EEAFB-5AB0-4C6A-A642-FB0563D19680%7d%2c4%22\"}\r\nclientRequestId: 57e3f5ec-88f7-4796-bae7-99cfca8f6101\r\nserviceRequestId: 945bcf9e-0011-8000-e544-6cd3f699cba3