Behavior:
When attempting to run a workflow, it stops with the following error message within the workflow history:
When attempting to run a workflow, it stops with the following error message within the workflow history:
"Cannot lock document 'xxx' because it is already locked from another user 'xxx'"
![](https://dwsupport.blob.core.windows.net/kba/1e898325-7128-4b6b-9b7a-6e7a234d5ec5.png)
Answer:
This behavior occurs when the workflow attempts to write to a document already locked by another user in DocuWare.
To prevent this issue, ensure that the document is run through a workflow and is not open in another location within DocuWare.
![](https://dwsupport.blob.core.windows.net/kba/1e898325-7128-4b6b-9b7a-6e7a234d5ec5.png)
Answer:
This behavior occurs when the workflow attempts to write to a document already locked by another user in DocuWare.
To prevent this issue, ensure that the document is run through a workflow and is not open in another location within DocuWare.
KBA is applicable to both Cloud and On-premise Organizations.