Overview of Events When Working with Custom Deal Fields

Events allow applications to respond to changes in near real-time: receiving notifications about the creation, update, or deletion of custom deal fields.

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 events for custom deal fields through:

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

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: crm

Who can subscribe: any user

Event

Triggered By

onCrmDealUserFieldAdd

When a custom field is added manually or via the method crm.deal.userfield.add

onCrmDealUserFieldUpdate

When a custom field is changed manually or via the method crm.deal.userfield.update

onCrmDealUserFieldDelete

When a custom field is deleted manually or via the method crm.deal.userfield.delete

onCrmDealUserFieldSetEnumValues

When the set of values for a list-type custom field is changed manually or via the method crm.deal.userfield.update