Overview of Events When Working with Task Comments

Events allow applications to respond to changes almost in real-time: receiving notifications about the addition, update, or deletion of a comment in a task.

Detailed information on working with events is described in the article Concept and Benefits of Event Processing.

Quick navigation: all events

How to Receive Events

You can subscribe to task events through:

An example of a handler for the event is described in the article How to Test Your Handler for Processing Bitrix24 Events.

Server Availability for Sending and Receiving Events

The event handler server must be accessible from the outside. To configure the accessibility of the event handler server and application, refer to the article Required network access.

For cloud Bitrix24, no additional configuration is required. For on-premise Bitrix24, configure accessibility on the server or hosting according to the article Required network access.

Overview of Events

Scope: task

Who can subscribe: any user

Event

Triggered By

OnTaskCommentAdd

When a comment is added to a task manually or via the method task.commentitem.add for the old detail form. When a message is added to the task chat for the new detail form

OnTaskCommentUpdate

When updating a comment in a task manually or using the task.commentitem.update method for an old detail form

OnTaskCommentDelete

When deleting a comment in a task manually or using the task.commentitem.delete method for an old detail form