CBP::getWorkflowInstance

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

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

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