intermediateCatchEvent in 7.x is problem or any other configuration
Describe the bug The time of intermediateCatchEvent is the start time. As a result, the periodic run cannot obtain data in the table
Expected behavior
<intermediateCatchEvent id="waitTimer" name="Wait for Timer">
<timerEventDefinition>
<timeDuration>PT30S</timeDuration>
</timerEventDefinition>
</intermediateCatchEvent>
The operation fails after 30 seconds Code 1、 SELECT RES.* from ACT_RU_TIMER_JOB RES where SCOPE_TYPE_ is null and DUEDATE_ <= '2024-12-02 18:02:35.397' and LOCK_OWNER_ is null order by RES.ID_ asc LIMIT 512 OFFSET 0;
2、 @Bean public SpringProcessEngineConfiguration springProcessEngineConfiguration() { SpringProcessEngineConfiguration configuration = new SpringProcessEngineConfiguration(); configuration.setDataSource(dataSource()); // 设置数据源 configuration.setTransactionManager(transactionManager()); // 设置事务管理器 configuration.setDatabaseSchemaUpdate("true"); // 自动更新数据库表结构 configuration.setAsyncExecutorActivate(true); // 激活异步执行器 configuration.setAsyncExecutorCorePoolSize(10); configuration.setAsyncExecutorMaxPoolSize(20); // 对定时任务有影响 // configuration.setClock(new Clock() {}) return configuration;
}