• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/command/update.php
  • Класс: BitrixRpaCommandUpdate
  • Вызов: Update::runAutomation
protected function runAutomation(): Result
{
	if($this->isItemChanged())
	{
		if($this->pullEventId)
		{
			Driver::getInstance()->getPullManager()->addItemUpdateEventId(
				$this->item->getType()->getId(),
				$this->item->getId(),
				$this->pullEventId
			);
		}
		return BizprocListener::onItemUpdate($this->item, $this->historyItem);
	}

	return new Result();
}