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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Approval Flow only wor...
Power Automate
Unanswered

Approval Flow only working when document is dragged and dropped

(0) ShareShare
ReportReport
Posted on by 16

I am using the Flow template 'Approve a document using SharePoint Content Approval'.  I have noticed that the flow succeeds when a new document is dragged and dropped into the document library, however, if I add a new document by choosing the option to upload a document to the document library, the flow fails with the following 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."  Any ideas on why this is happening and how to resolve?  Thanks.

Categories:
I have the same question (0)
  • PieterVeenstra Profile Picture
    on at
    Re: Approval Flow only working when document is dragged and dropped

    Can you upload a screenshot of the run history of the failing flow.

  • Dave_H Profile Picture
    16 on at
    Re: Approval Flow only working when document is dragged and dropped

    Flow Failure Screenshot 1.PNGFlow Failure Screenshot 2.PNGFlow Failure Screenshot 3.PNG

  • v-bacao-msft Profile Picture
    on at
    Re: Approval Flow only working when document is dragged and dropped

    Hi @Dave_H,

     

    Could you please share a full screenshot of the configuration of your flow?

    I have made a test on my side and when configuring the Id of Set content approval status, the Dynamic content ID from the trigger is used.

    Did you use ItemId from the action Get file metadata? That does happen to the mistakes you said.

    Please reconfigure Set content approval status action, using the ID from trigger.

    Take a try and let me know if issue still exist.

     

    Best Regards,

    Barry

  • Dave_H Profile Picture
    16 on at
    Re: Approval Flow only working when document is dragged and dropped

    Flow.png

    Thanks, Barry.  I used Identifier from the action Get file metadata and ID for the Set content approval status action.

  • Dave_H Profile Picture
    16 on at
    Re: Approval Flow only working when document is dragged and dropped

    Any more ideas on why this is happening and how to resolve?  I have been trying unsuccessfully to find an answer to why the template works when documents are dragged and dropped into the document library, but fails when a document is added through the "upload" option.  Thanks.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard