I use camunda activity event mappings in an event based process.
the mappingCleanup endpoint is called
all camunda activity event mappings get removed even those which are still valid
Only camunda activity events not present in the source scope or referring to flownode ids not present in the model xml should get cleaned up.
the reason is that the EventTypeDtos compared differ in terms of the eventLabel, see attached screenshot