Inconsistent "document locked" times

Brass Contributor
I'm working on a Flow that uses a Do until loop to keep trying to update SharePoint properties, if it finds the file is locked. The Do until loop is set to run for 1 day with 290 tries. When the file is closed, the Flow updates properties and completes the run. Testing has been showing inconsistent run times before the Flow completes. 

 

My latest test ran for 6 hours 12 minutes. The file in question was open in another tab on my computer. At 6:12, Flow determined the file was closed, updated the properties, and completed the run. I did not close the file. Does Office 365 close files that have been open but inactive a long time? I am using Edge browser which "sleeps" an inactive tab. Would this sleep condition make Office 365/SharePoint think that the file had been closed?

 

Thank you,

Anne

0 Replies