Метод getAnalyticsActorId
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
1695–1709
~/bitrix/modulescrm/lib/Service/Operation.php
Исходный код
Сигнатура метода
protected function getAnalyticsActorId(): ?int
Возвращает:
?int
Описание
Initiator to write into the analytics event, or null when the operation cannot name one. Only scopes where an employee really triggered the action report an actor. Public entry points (crm forms, open lines) run under a manual-scope context carrying the responsible employee, and reporting them would turn a visitor request into that employee's activity.