• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/demo/wizard.php
  • Класс: Bitrix\Crm\Automation\Demo\Wizard
  • Вызов: Wizard::unInstallAutomation
static function unInstallAutomation($entityTypeId, $version = 1)
{
	$robotsRelation = static::getRobots($entityTypeId, $version);
	if ($robotsRelation)
	{
		foreach (array_keys($robotsRelation) as $status)
		{
			static::addTemplate($entityTypeId, $status, array());
		}
	}
}