• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/runtime.php
  • Класс: CBPRuntime
  • Вызов: CBPRuntime::getWorkflowInstance
protected function getWorkflowInstance(string $workflowId): CBPWorkflow
{
	if (WorkflowInstanceTable::isDebugWorkflow($workflowId))
	{
		return new DebugWorkflow($workflowId, $this);
	}

	return new CBPWorkflow($workflowId, $this);
}