flowable-engine
flowable-engine copied to clipboard
AsyncExecutor `TimerJobAcquisition` does not support tenant
Describe the bug
flowable.async-executor-activate=true
flowable.process.async.executor.async-job-acquisition-enabled=true
flowable.process.async.executor.timer-job-acquisition-enabled=true
@Bean
configuration.setAsyncExecutorTenantId(TENANT_ID);
The below methods do not use the property TENANT_ID. So jobs from all tenants are selected.
MybatisJobDataManager.findJobsToExecute has no WHERE TENANT_ID = ?
MybatisTimerJobDataManager.findJobsToExecute has no WHERE TENANT_ID = ?
Expected behavior I want 2 tenants in the same database. And 2 apps with self properties to acquire its own jobs.
Additional context ver 6.6.0