How to check who locks a file?

Hi there,

It may be a dummy question, but is there a way to check who is using a file when we know for sure the file is used by another user?
I have a simple try-catch with read range, so when it fails to read, I know that the file is locked.
I would like to notify that person via email through the same workflow.

Many thanks in advance,
Richard

@UiVarjom, [quote=“UiVarjom, post:1, topic:24045”]
I have a simple try-catch with read range, so when it fails to read, I know that the file is locked.
[/quote]
Yes you are right.
Refer this link

If fails using send Outlook mail message you cam send the mail.

Regards,
Arivu