AutoStartWorkflows
void
public static function CBPDocument::AutoStartWorkflows(
array documentType,
integer autoExecute,
array documentId,
array arParameters,
array &arErrors
);
This method launches workflows, configured for autorun.
Note: This method receives an array of configuration parameters and generates scripts, required to show file dialog. Static method.
Method parameters
Parameter | Description |
---|---|
documentType | Document type code as an array(module, document_class, document_type_code_in_module) |
autoExecute | Flag CBPDocumentEventType autorun type (1 = CBPDocumentEventType::Create, 2 = CBPDocumentEventType::Edit) |
documentId | Document code as an array(module, document_class, document_code_in_module) |
arParameters | Array of workflow launch parameters |
arErrors | Array of errors that occurred during workflow launch as follows
array( |
See Also
© «Bitrix24», 2001-2024