Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Bitrix\Main;
- use Bitrix\Main\Localization\Loc;
- if(!Main\Loader::includeModule('bizproc') || !Main\Loader::includeModule('bizprocdesigner'))
- {
- return;
- }
- $arFieldsTemplate = \CBPWorkflowTemplateLoader::GetList([], ['ID' => 31])->GetNext();//31 ID - бизнес процесса
- $template = $arFieldsTemplate["TEMPLATE"];
- echo "<pre>";
- print_r($template);
- echo "</pre>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement