cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Archive function for SharePoint

Hi there!

I've been trying to create an automatic archive function for a SharePoint site. I would want the person who first uploaded the document to the site to receive an automatic e-mail after the document have been uploaded without any modifications for about 6 months. Then either an answer to this e-mail will move the document automatically or if it is not possible, at least they will receive an e-mail asking if this document is not outdated and should therefor be moved to the Archive folder. Does anyone have any good suggestions for me?

2 REPLIES 2
Dual Super User
Dual Super User

Re: Archive function for SharePoint

Hi @Anonymous 

 

You might want to try this: 

 

1. Trigger: Recurrence -> Once a week. 

2. Get Files action and in the Filter query filter files by Modified date less than 6 months from UTC now. 

3. In the apply to each loop control iterate over the list that was returned in step 2 (in  this action go to the settings and turn on concurrency to run the condition in parallel for all the iotems returned in the list)

4. Create a sharing link to the file 

5. Send an email with options -> Option 1: Move to folder 2: Do not do anything. and the to in this emaila ction will be the created by from the get files action. 

6. Based on the option recieved, if move folder then add the actions appropriately else do nothing. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Community Support
Community Support

Re: Archive function for SharePoint

Hi @Anonymous ,

 

Many of the comments are from @yashag2255, and I will provide screenshots of configuration for some reference and attention to details:

From Step Recurrence to Step Send an email with options:

Annotation 2019-07-17 102644.png

Step determine the response from the Email and Move a file:

Annotation 2019-07-17 102749.png

Step Setting for Apply to each:

Annotation 2019-07-17 104032.pngAnnotation 2019-07-17 103937.png

Please have a try, I hope it will help you.

 

Best Regards,

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

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,598)