Documentation

GetDocumentState

array
public static function CBPDocument::GetDocumentState(
 array documentId,
 string workflowId
);

This method returns status of the specified workflow for a document.

Note:This method receives an array of condiguration parameters and generates scripts, required to show file dialog. Static method.

Method parameters

ParameterDescription
documentIdDocument ID as an array(module, document_class, document_code_in_module)
workflowIdWorkflow ID code

Returned value

Resulting array is similar to the array of CBPDocument::GetDocumentStates method.

See Also



© «Bitrix24», 2001-2024