flowable / flowable/flowable-engine

intermediateCatchEvent in 7.x is problem or any other configuration

Open
#3,992 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**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**



PT30S


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;

}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.