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?
Hello sir, How can I define a subfolder of my documents to be checked instead of the hole documents map?
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:
Best Regards,
Thx, the flow now runs without any errors,
@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.
How do I define this adddays?
@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.
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' ?
@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.
WarrenBelz
146,776
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional