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 Automate
Answered

Versioning in Flow

(0) ShareShare
ReportReport
Posted on by

I've successfully built an approval flow that will copy a file from one SharePoint library to another when the file is approved. The flow "replaces" any existing document with the new one if the names are the same. However, it will not register that new document as a new version in the destination document library. Is there a way to fix this so that there is active versioning in the destination library?

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    I just ran a quick test and found that a new version was created when I created a new file with the same name.

    Can you verify that versioning is turned on in the document library?

    If versioning is turned on and you are still experiencing this issue, can you post a screen shot of your Flow?

  • Community Power Platform Member Profile Picture
    on at

    Versioning is turned on (major versions) in both libraries, and the file copies over just fine, but the version never changes unless I open the file within the destination library and change something there. But I'd like the copy file action to also create a new version.Flow.PNG

  • v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I have tested on my side that when a file was created in a folder, copy it to a destination folder, and the copied file will be shown as version 1.0.

     

    What's your issue is the version of the copied file isn't 1.0, right? Or you want to update your copied file each time Version will accumulate?

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Exactly. I would like the versions in the destination folder to accumulate as well. 

  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Unfortunately, the copied file's version will be reset as 1.0 and the version could not be edit, so you can not accumulate the version according to the original file.

     

    If you use the Move file action, the version will not be reset.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • carrymegens Profile Picture
    2 on at

    Strange there is a difference in how versioning works with a flow. When you manually upload a file with same name, a new version is created. Why does flow not exploits that exact same mechanism? That would solve the above. Why is 1.0 created?, Simply re-use the existing document! 

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard