You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
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
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;
The text was updated successfully, but these errors were encountered: