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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint Approval wi...
Power Automate
Unanswered

Sharepoint Approval with automatic notification

(0) ShareShare
ReportReport
Posted on by 2
Hello!
 
I would like that a notification (email) is sent to a specific user, once a document is set to "Submit for Approval" on Sharepoint. 
 
Once the user has either "Approved" or "Rejected" I would like the status to update accordingly on Sharepoint:
 
 
For now I have made a (bad) flow that is able to start an approval once the status of a file changes to "Pending" - however, the Set content approval status is not working:
 
I cannot figure out how to link the ID of the file being approved to the Set content approval status "Id" parameter...
 
 
Thanks for any help!
 
Miccio
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    You would use the ID value from the trigger action. If that is what you are using, is it not working? If so, what is not working, and do you get an error message?
  • MC-28011526-0 Profile Picture
    2 on at
    I do not know how to fetch the ID value from the trigger action. I tried with "get file metadata" but not sure what the File Identifier would be.
     
    Below the error:
     
    Action 'Set_content_approval_status' failed: {"Etag":"\"{0472C062-5106-4BE6-90B9-F1087CBA057A},2\"","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://trinasolarus.sharepoint.com/sites/RSMU/test/Manufactures%20declaration%20INGECON%20models.docx?etag=%22%7b0472C062-5106-4BE6-90B9-F1087CBA057A%7d%2c2%22","PublishStartDate":null,"ScheduledVersion":null,"ContentApprovalStatus":"None","ModerationStatus":"None"} clientRequestId: 3198d362-5d21-4d4f-b865-deb0253e761e serviceRequestId: f5027ca1-208e-7000-c93f-681af2a7c098
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard