web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / undefinedPower Automat...
Power Apps
Answered

undefinedPower Automate Document Approval workflow for SharePoint

(0) ShareShare
ReportReport
Posted on by 32

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,

NastaranFlow details1.png

Categories:
I have the same question (0)
  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi, @NastaraN ,

     

    You could set "Identifier" in "Get file metadata" action instead of "ID".

    vzhoqianmsft_0-1680847214871.png

     

     

    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.

     

     

     

     

  • NastaraN Profile Picture
    32 on at

    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!

    Thanks, 

    Nastaran

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @NastaraN ,

     

    Could you provide a screenshot of the flow's run error history?

  • NastaraN Profile Picture
    32 on at

    Hi, 

    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-fa4940110f85
    serviceRequestId: 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. 

    NastaraN_0-1681227949550.png

     

    2ccd8d3f-2c83-4399-92bb-ff95921b41e6.png

    Thanks, 

    Nastaran

  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @NastaraN ,

     

    After my test, I find that ETag field is required.

    vzhoqianmsft_1-1681291317034.png

     

     

     

    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.

     

  • NastaraN Profile Picture
    32 on at

    Hi, 

    Thank you! It works well now!

    Regards, 

    Nastaran
    PREVIEW

     
     
     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard