Inconsistent "document locked" times

%3CLINGO-SUB%20id%3D%22lingo-sub-2822924%22%20slang%3D%22en-US%22%3EInconsistent%20%22document%20locked%22%20times%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2822924%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3EI'm%20working%20on%20a%20Flow%20that%20uses%20a%20Do%20until%20loop%20to%20keep%20trying%20to%20update%20SharePoint%20properties%2C%20if%20it%20finds%20the%20file%20is%20locked.%20The%20Do%20until%20loop%20is%20set%20to%20run%20for%201%20day%20with%20290%20tries.%20When%20the%20file%20is%20closed%2C%20the%20Flow%20updates%20properties%20and%20completes%20the%20run.%20Testing%20has%20been%20showing%20inconsistent%20run%20times%20before%20the%20Flow%20completes.%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20latest%20test%20ran%20for%206%20hours%2012%20minutes.%20The%20file%20in%20question%20was%20open%20in%20another%20tab%20on%20my%20computer.%20At%206%3A12%2C%20Flow%20determined%20the%20file%20was%20closed%2C%20updated%20the%20properties%2C%20and%20completed%20the%20run.%20I%20did%20not%20close%20the%20file.%20Does%20Office%20365%20close%20files%20that%20have%20been%20open%20but%20inactive%20a%20long%20time%3F%20I%20am%20using%20Edge%20browser%20which%20%22sleeps%22%20an%20inactive%20tab.%20Would%20this%20sleep%20condition%20make%20Office%20365%2FSharePoint%20think%20that%20the%20file%20had%20been%20closed%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3EAnne%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2822924%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFlow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
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