Documentation

UnlockDocument

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

This method unblocks specified document. Event handlers of "Entity_OnUnlockDocument" type are called during development. Document ID code is passed to such handlers as input parameter. If document unblocking was successful, then returns true, otherwise - false.

Method parameters

ParameterDescription
documentIdDocument ID code
workflowIdWorkflow ID code


© «Bitrix24», 2001-2024
Up