Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

 

  • carrymegens Profile Picture
    2 on at
    Re: Versioning in Flow

    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! 

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Versioning in Flow

    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.

  • Community Power Platform Member Profile Picture
    on at
    Re: Versioning in Flow

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

  • v-litu-msft Profile Picture
    on at
    Re: Versioning in Flow

    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
    Re: Versioning in Flow

    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

  • ScottShearer Profile Picture
    25,216 Most Valuable Professional on at
    Re: Versioning in Flow

    @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?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow