Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected result when querying tasks in Flowable 7.0.1 #3937

Open
jin2001 opened this issue Jul 29, 2024 · 0 comments
Open

Unexpected result when querying tasks in Flowable 7.0.1 #3937

jin2001 opened this issue Jul 29, 2024 · 0 comments

Comments

@jin2001
Copy link

jin2001 commented Jul 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant