org.camunda.bpm.engine.impl.migration.validation.instruction
Class GatewayMappingValidator

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.validation.instruction.GatewayMappingValidator
All Implemented Interfaces:
MigrationInstructionValidator

public class GatewayMappingValidator
extends Object
implements MigrationInstructionValidator

For synchronizing gateways (inclusive; parallel), the situation in which more tokens end up at the target gateway than there are incoming sequence flows must be avoided. Else, the migrated process instance may appear as broken to users since the migration logic cannot trigger these gateways immediately.

Such situations can be avoided by enforcing that