flowable / flowable/flowable-engine

Unexpected result when querying tasks in Flowable 7.0.1

Aperta
#3,937 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
9.5k
Fork
2.9k
Merge medio
7h 8m
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.