• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/integration/bizproc/automation/trigger/base.php
  • Класс: BitrixTasksIntegrationBizprocAutomationTriggerBase
  • Вызов: Base::applyTrigger
protected function applyTrigger(array $trigger)
{
	$statusId = $trigger['DOCUMENT_STATUS'];

	$target = $this->getTarget();

	$target->setAppliedTrigger($trigger);
	$target->setDocumentStatus($statusId);
	$target->getRuntime()->onDocumentStatusChanged();

	return true;
}