• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/replicator/template/taskproducer.php
  • Класс: BitrixTasksReplicatorTemplateTaskProducer
  • Вызов: TaskProducer::writeReplicationResultToTemplateHistory
private function writeReplicationResultToTemplateHistory(): void
{
        $message =  Loc::getMessage('TASKS_PRODUCER_TASK_CREATED', [
            '#TASK_ID#' => $this->task->getId()
        ]);

	if (!$message)
	{
		return;
	}

	$this->templateHistoryService->write($message, $this->currentResult);
}