Documentation

IsDocumentLocked

bool
IBPWorkflowDocument::IsDocumentLocked(  mixed documentId,
 string workflowId
);

This method verifies whether this document is blocked for the specified workflow. It means, that when this workflow cannot access a document for writing (because the document is blocked by another workflow) the method should be returned as true, otherwise - false.

Method parameters

ParameterDescription
documentIdDocument ID code
workflowIdWorkflow ID code


© «Bitrix24», 2001-2024
Up