Announcements
I used this video to make a flow for my document approval in SharePoint. my approval status, email doesn't work and whether I approve or reject the file, it still shows as 'Pending" in my SharePoint library.
I would appreciate your help to sort this out. (Screen shots are added)
Thanks,
Nastaran
Hi, @NastaraN ,
You could set "Identifier" in "Get file metadata" action instead of "ID".
Best Regards,
Community Support Team _ habsburg Qian
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi,
Thanks for your reply. I tried replacing "identifier" to "ID", the flow still doesn't reflect the approve or reject status.
I appreciate if anyone can help!
Hi @NastaraN ,
Could you provide a screenshot of the flow's run error history?
Thanks for the reply.
Below is the error ,
here is the error content:
{"Etag":"\"{3F6193FE-905B-4177-A133-126CCFAF10E2},10\"","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://simsmetalmanagement.sharepoint.com/sites/RSR_PMO/DMS%20Approval/Document%20Approval%20Flow%20Checker%202.docx?etag=%22%7b3F6193FE-905B-4177-A133-126CCFAF10E2%7d%2c10%22","PublishStartDate":null,"ScheduledVersion":null,"ContentApprovalStatus":"None","ModerationStatus":"None"}clientRequestId: 6e942a2c-e19c-46db-9d5d-fa4940110f85serviceRequestId: 6e942a2c-e19c-46db-9d5d-fa4940110f85
I used the default setting of the approval template of SharePoint for Approval status, which includes : Draft, Pending, Approved, Rejected options.
After my test, I find that ETag field is required.
Thank you! It works well now!
Regards,
NastaranPREVIEW
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 491
WarrenBelz 407 Most Valuable Professional
11manish 331