CBPRuntime::getWorkflowInstance

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPRuntime
  4. getWorkflowInstance
  • Модуль: 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);
}

Добавить комментарий