I have a recurring flow scheduled every Monday at 5pm to find the LAST MODIFIED file in the document library. The recurring action is pretty forward but I need help about finding the last modified file.
The goal is once the flow find this last modified file it will make a duplicate copy with a different filename which I know how to do. Thank you in advance.
I have made a test on my side and the flow works well. Please take a try with the following workaround to find the last modified file:
Convert the Modified value to a value using the ticks() function, then add it to an array.
Append to array variable-Expression:
Use the max() function to find the maximum value of the array, which is the value of the most recent modified time conversion.
Then determine which Moidfied this value is, and then find out the relevant information for that file.
The flow works successfully as below, 'yu' is the name of the file that was last modified before the time set by my trigger:
According to the information obtained in the above step, you can make a duplicate copy with a different filename which you know how to do.
Please take a try and feel free let me know if you have any question.
I am an intermeadiate user of flow, so here goes with a query.
I have a Sharepoint List, that I want to trigger and action on like send email containing a CSV file. I am okay with the sending an email with a CSV attachment but I want to get the flow to run every three days from the start time and then end after a number of occourances, say 10 or when the feedback of the event has dried up i.e. 10 days. The flow should then terminate and stop running.
I am have not used any expressions in flow yet so the above maybe possible with that but it is the actual flow diagram I need. We can split the flow into multiple sections if required if that would help the logic.
Any guidance would be helpful.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.