Data change

Description

Creation, modification, or deletion of an entity in the domain center data model or the product-project data model.

Table 1. System characteristics

Class

Type

data_changed

Properties

Table 2. Properties
Specification Description

Name: classname
Type: varchar
Empty value: — 

Data class of the changed object instance (internal class name).

Name: classpath
Type: varchar
Empty value: — 

Class collection path in the REST API (for example /rest/v1/model/my/Records). Populated in subscription notifications.

Name: operation
Type: int (Kafka), varchar (subscription)
Empty value: — 

Object operation. In Kafka — a number: 0 - delete, 1 - create, 2 - property modification, 3 - collection clear, -1 - storage failure for the entity (corrupt), -2 - class processing restart (reload). In a subscription notification — a string: delete, create, update, clear, corrupt, reload; update is reduced to create or delete if the entity enters or leaves the subscription filter.

Name: eid
Type: varchar
Empty value: — 

Identifier of the changed object instance.

Name: entity0
Type: jsonb
Empty value: — 

JSON content of the object instance before the change. For the create operation contains the instance data after creation. Passed in a subscription notification only with exargs.content_mode = 2.

Name: entity
Type: jsonb
Empty value: — 

JSON content of the object instance after the change. For the delete operation contains the instance data before deletion.

Name: modifier_type
Type: varchar
Empty value: — 

Type of the subject that made the change: user, integration, script, system, master.

Name: modifier_id
Type: varchar
Empty value: — 

Identifier of the subject that made the change (user, integration channel, script)

See also