• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/automation/engine/template.php
  • Класс: BitrixBizprocAutomationEngineTemplate
  • Вызов: Template::getRobotByName
public function getRobotByName(string $name): ?Robot
{
	foreach ($this->getRobots() as $robot)
	{
		if ($name === $robot->getName())
		{
			return  $robot;
		}
	}

	return  null;
}