- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/service/pushservice.php
- Класс: BitrixTasksScrumServicePushService
- Вызов: PushService::sendUpdateItemEvent
public function sendUpdateItemEvent(ItemForm $updatedItem): void
{
$entityService = new EntityService();
$entity = $entityService->getEntityById($updatedItem->getEntityId());
if ($entityService->getErrors() || $entity->isEmpty())
{
return;
}
$tag = 'itemActions_' . $entity->getGroupId();
CPullWatch::addToStack(
$tag,
[
'module_id' => 'tasks',
'command' => 'itemUpdated',
'params' => [
'id' => $updatedItem->getId(),
'groupId' => $entity->getGroupId(),
'sourceId' => $updatedItem->getSourceId(),
'tmpId' => $updatedItem->getTmpId(),
],
]
);
}