• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/engine/runtime.php
  • Класс: Bitrix\Crm\Automation\Engine\Runtime
  • Вызов: Runtime::setStarted
private function setStarted($entityId, $status)
{
	$type = $this->getTarget()->getEntityTypeId();
	if (!isset(static::$startedTemplates[$type]))
		static::$startedTemplates[$type] = array();

	static::$startedTemplates[$type][$entityId] = $status;

	return $this;
}