GetWorkflowTemplatesForDocumentType
result_type
public static function GetWorkflowTemplatesForDocumentType( array documentType
);
This method returns an array of workflow template for this document type.
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) |
Returned value
Returned array is presented as follows:
array(
array(
"ID" => template_code,
"NAME" => template_name,
"DESCRIPTION" => template_description,
"MODIFIED" => template_modified_date,
"USER_ID" => id_user_who_modified_template,
"USER_NAME" => user_name_who_modified_template,
"AUTO_EXECUTE" => autoexecution_flag_CBPDocumentEventType,
"AUTO_EXECUTE_TEXT" => auto_execution_text,
),
. . .
)
© «Bitrix24», 2001-2024