DeleteWorkflowTemplate
void
CBPDocument::DeleteWorkflowTemplate( int id,
array documentType,
array &arErrors
);
Method deletes a workflow template.
Note:This method receives an array of configuration parameters and generates scripts, required to show file dialog. Static method.
Method parameters
Parameter | Description |
---|---|
id | Workflow template code |
documentType | Document type code as an array(module, document_class, document_type_code_in_module) |
arErrors | array of errors that occurred during execution, as follows
array( |
Examples
<?
// Delete workflow template with code 132 for information block 18
CBPDocument::DeleteWorkflowTemplate(
132,
array("iblock", "CIBlockDocument", "iblock_18"),
$arErrorTmp
);
?>
© «Bitrix24», 2001-2024