• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/replicator/template/repetition/time/service/executionservice.php
  • Класс: BitrixTasksReplicatorTemplateRepetitionTimeServiceExecutionService
  • Вызов: ExecutionService::getCurrentAgentName
public function getCurrentAgentName(): string
{
	$template = $this->repository->getTemplate();
	if (is_null($template))
	{
		return '';
	}

	return str_replace('#ID#', $template->getId(), Replicator::AGENT_TEMPLATE);
}