Model Synchronization

The Model synchronization provides operation to solve and synchronize common model related items. The model synchronization API is available inside of an active project with the keyword modelSynchronization. The class IModelSynchronizationApi defines the available methods.

The method synchronize() synchronizes the model for all registered model synchronization elements like validations and other operations. The method will open a transaction, if isSynchronizationRequired() returns true, otherwise this method does nothing.

Model synchronization inside an open project
// Execute the model synchronization
modelSynchronization.synchronize()

//Or more elaborated, but means the same
modelSynchronization{
  if(synchronizationRequired){
    synchronize()
  }
}