cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cdn4lf
Resolver I
Resolver I

Update Folder Modified date when new file added

Hi All,

 

I'm trying to create a flow that will update the date modified on my case files (folders), when a file is added or modified.  The goal here is to have the case file's modified date match the most recent document modified date.

 

Any assistance would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @cdn4lf ,

 

There is a property called 'Folder Path' under When a file is created (Properties only) step. So you could use that and go through the API update link which @Pstork1 mentioned.

 

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

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

5 REPLIES 5
Pstork1
Dual Super User III
Dual Super User III

The modified date is normally populated by the system and can't be updated manually.  There are ways to force it to update using a REST call. This article talks about how to make these updates in Flow, but the REST call is the same.

http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-micros...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks.  How do I get the name of the folder the file is located in?  I'd like the flow to run at the library level and every time a file is created, adjust the date modified on the appropriate folder / case file. (I fully realize I'm probably missing something very basic here).

 

 

Pstork1
Dual Super User III
Dual Super User III

You should be able to get the name of the Folder from the Path for the file.  But this is not going to be a simple easy Flow to write. It should be possible, but I doubt you are missing something basic.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
abm
Super User III
Super User III

Hi @cdn4lf ,

 

There is a property called 'Folder Path' under When a file is created (Properties only) step. So you could use that and go through the API update link which @Pstork1 mentioned.

 

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

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

v-litu-msft
Community Support
Community Support

Hi @cdn4lf,

 

Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (61,714)