onModelsChanged Readonly

onModelsChanged: BeEvent<(changes: TxnChangedEntitiesWithMetadata) => void> = ...

Called after validation completes from saveChanges. The argument to the event holds the list of models that were inserted, updated, and deleted. Each changed model includes its id, classId, and metadata. Use metadata.classFullName for an exact class match or metadata.is to match a class or one of its subclasses.

@note If there are many changed models in a single Txn, the notifications are sent in batches so this event may be called multiple times per Txn.

Defined in

Last Updated: 03 September, 2026