Documentation

LockDocument

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

This method blocks the specified document for the indicated workflow. Blocked document can be modified only by an indicated workflow. If the blocking of the document is successful, then returns true. Otherwise, returns false.

Method parameters

ParameterDescription
documentIdDocument ID code
workflowIdWorkflow ID code


© «Bitrix24», 2001-2024