Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Create a Flow to notify a person to review a Document X amounts a year

Like (0) ShareShare
ReportReport
Posted on 14 Nov 2019 11:10:32 by

Hello Everyone,

 

I would like to make or know how to make a flow that does the following:

1. checks a file or Folder content when is was last updated

2. If this update hasn't been done within X amount of months

3. I want 2 people to receive e-mails with the File name and request to update the document.

 

I have been looking but no option worked for me.

I have an E3 license is this sufficent enough?

  • Community Power Platform Member Profile Picture
    on 07 Jan 2020 at 10:39:55
    Re: Create a Flow to notify a person to review a Document X amounts a year

    Hello sir, How can I define a subfolder of my documents to be checked instead of the hole documents map?

  • v-bacao-msft Profile Picture
    on 03 Dec 2019 at 06:54:50
    Re: Create a Flow to notify a person to review a Document X amounts a year

     

    Hi @Anonymous ,

     

    Modified records the current time when the file was changed, so the methods provided by @ScottShearer  have basically covered your needs.

    When you change the file, Modified will change with it. If you want to know when this file was last changed, you need to use file version history to get it.

    @ScottShearer has written a similar blog before to achieve such requirements, please refer to this link:

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Check-for-a-Change-in-a-SharePoint-List-Column-Value/bc-p/248270#M503

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on 21 Nov 2019 at 07:24:54
    Re: Create a Flow to notify a person to review a Document X amounts a year

     

    @ScottShearer 

    Thx, the flow now runs without any errors,

     

    Modified le 'addDays(utcNow(),10,'yyyy-MM-dd')'
     
    But I run the flow after I changed a document and still I Get the mail to update it?
    How do I define it to check the document last modified date and see that it hasnt had an update for 10 days?
    I think where nearly close to solving it 😁
  • Verified answer
    ScottShearer Profile Picture
    25,223 Most Valuable Professional on 20 Nov 2019 at 23:05:00
    Re: Create a Flow to notify a person to review a Document X amounts a year

    @Anonymous 

    There are two issues with your filter query exppression.  First, the expression should look like this:

    addDays(utcNow(), 180, 'yyyy-MM-dd')

     

    In adddition, there need to be single quotes around the exxpression.  lease refer to the ssccreen shots that I preiously pposted.

     

     

     

  • Community Power Platform Member Profile Picture
    on 20 Nov 2019 at 21:46:03
    Re: Create a Flow to notify a person to review a Document X amounts a year

    error date.PNGsettings.png

     

    How do I define this adddays?

  • ScottShearer Profile Picture
    25,223 Most Valuable Professional on 19 Nov 2019 at 13:30:58
    Re: Create a Flow to notify a person to review a Document X amounts a year

    @Anonymous 

    Modified le is the OData syntax for when the Modified column is less than and then I supply the date.

    Here is a link to a blog post that explains using OData filters with Get items.

    The date is inside of the single quotes and is an expression.  To enter an expression, click on the expression link next to Dynamic properties where you want to enter the expression.

    Expression1.jpg

     

  • Community Power Platform Member Profile Picture
    on 19 Nov 2019 at 10:30:34
    Re: Create a Flow to notify a person to review a Document X amounts a year

    Hello Sir,

     

    Thanks for your answer.

    How do I fill in the "Filter Query"field? what value did you put in addDays() and what does the 'modified le do' ?

     

  • Verified answer
    ScottShearer Profile Picture
    25,223 Most Valuable Professional on 14 Nov 2019 at 16:48:48
    Re: Create a Flow to notify a person to review a Document X amounts a year

    @Anonymous 

    Please see my example below.  Note the single quotes around the date parameter in the filter query expression.  Also, I could probably have filtered out folders and eliminated the condition - can't remember how to do that right now... The expression used in the query filter can be seen in the action comments.

    In my example, I am looking for documents that have not been modified in 180 days - change the number of days as appropriate.

    OldDocs.jpg

    OldDocs1.jpg

     

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow
Loading started