Forum Discussion

Jey_Ganesh's avatar
Jey_Ganesh
Copper Contributor
May 06, 2021
Solved

Files Auto Archive in documents library

In our document library, we have many files. we have created an archive folder in the same document library. so files older than 2 months need to automatically move to an archive folder.

 

how can we do this?

  • Jey_Ganesh it's not a template, you built it from blank.

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Jey_Ganesh this can be done with a fairly simple flow in Power Automate that, in my example, runs at 7 am every day and checks for & moves documents modified more than 60 days ago:

     

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

    • EmilyCarbonella's avatar
      EmilyCarbonella
      Copper Contributor

      RobElliott What's the rest of the formula for the filter query? I want items to archive after a year. I'm VERY new to queries, so I don't know what the rest of the formula should be. Thank you!

      • RobElliott's avatar
        RobElliott
        Silver Contributor

        Jey_Ganesh it's not a template, you built it from blank.

         

        Rob
        Los Gallardos
        Microsoft Power Automate Community Super User

Resources