Метод publishOnActivityAdd
Сигнатура метода
public function publishOnActivityAdd(int $activityId, array &$fields): void
Возвращает:
void
Описание
The last step of an add: the event REST webhooks of third-party applications are delivered from. The serialized fields are deserialized again by then, the way legacy hands them over.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
$fields
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/EventPublisher.php
Расположение метода в файле
Строки
113–119