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
Parameter | Description |
---|---|
documentId | Document ID code |
workflowId | Workflow ID code |
© «Bitrix24», 2001-2024