@ PostDeploy public void deployProcessesToTenantEngines ( ) { // copy the process definitions deployed to the default engine to all tenants for ( ProcessEngine processEngine : BpmPlatform . getProcessEngineService ( ) . getProcessEngines ( ) ) { if ( processEngine != BpmPlatform . getDefaultProcessEngine ( ) ) { TenantManager . deployDefaultProcessesToEngine ( processEngine ) ; } } }
private static final String PROCESS_DEFINITION_KEY = tenantdemo - process - application ;