flowable / flowable/flowable-engine
Unexpected result when querying tasks in Flowable 7.0.1
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 2
Description
Hi all,
I have found what it could be a bug in the recent 7.0.1 version.
When using taskService to query the running tasks, the query criterias are missing. So none of result is returned.
The code of query is as follows:
query1:
taskService.createTaskQuery().taskAssigned("user1")
.taskState(Task.CREATED).list();
query2:
taskService.createTaskQuery().taskAssigned("user1")
.taskClaimedBefore("2024-07-29").list();
I expect the search is as follows:
expectation1:
assignee_ = "user1" AND STATE_ = "created"
expectation2:
assignee_ = "user1" AND CLAIM_TIME_ < "2024-07-29"
But in the logs,the SQL generated is as follows:
assignee_ = "user1"
The query criteria STATE_ and CLAIM_TIME_ are missing.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.