cancel
Showing results for 
Search instead for 
Did you mean: 

Check File if locked (will be read-only if opened) or not locked (alloow update and save if opened)

DT
Level 4
​I want a code stage to detect if a file is locked by another user (who has write rights to it - not read-only).
I do not want to attempt opening the file to determine this.
The file could be open by a human (outside of BP environment) so cant use environmental lock approach.

So if not locked then the BOT could open the file and it would be allow update and save.

If I could have the required code to build a code stage would be great.
Thanks in advance
0 REPLIES 0