• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/runtime/recipientbuilderjob.php
  • Класс: Bitrix\Sender\Runtime\RecipientBuilderJob
  • Вызов: RecipientBuilderJob::runAgent
static function runAgent(int $postingId)
{
	$builder = new \Bitrix\Sender\Posting\Builder($postingId);

	if (!$builder->isResult())
	{
		return self::getAgentName($postingId);
	}

	return '';
}