Object change record (changes)
Description
Any change to certain objects (entity types) is recorded in the change log. Each log element represents one specific operation performed on a specific object.
Changes are: creating a new object (create), changing field values of an existing object (update), deleting an existing object (delete).
The change history log in each creation row contains the full JSON representation at the time of creation. Each update row contains the full JSON representation of the object after the corresponding change, as well as the list of fields that were changed. Each delete row contains the value of the identifier field.
Limitations
-
A change record cannot be created or deleted directly. Their totality is only a reflection of the stored history.
-
The log stores the history of operations only for entities managed by the domain center (reflected in the entities specification).
-
Saving to the log and parallel writing to the `platform/log/HistoryChanges` collection are controlled by the store_history_options setting.
Fields
{
"cmdtype": uuid,
"dtutc": date,
"fields": str,
"modifierid": uuid,
"modifiername": str,
"obj": object,
"objid": uuid,
"objtype": str
}