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

"Not In" query for task definition keys #4968

Open
1 task
jordy-cantaert-vaph opened this issue Mar 4, 2025 · 3 comments
Open
1 task

"Not In" query for task definition keys #4968

jordy-cantaert-vaph opened this issue Mar 4, 2025 · 3 comments
Assignees
Labels
type:feature Issues that add a new user feature to the project.

Comments

@jordy-cantaert-vaph
Copy link
Contributor

jordy-cantaert-vaph commented Mar 4, 2025

User Story (Required on creation)

We would like to be able to use to engine to query active tasks based on their definition key not being present in a provided list of keys. As far as we can tell there is currently no method available for this. It would be great if some functionality could be added to the TaskQuery class for this case.

Functional Requirements

We need to be able to search tasks filtering out task definition keys that are present in a provided list.

Technical Requirements

Add a method to the TaskQuery class to query tasks filtering out task definition keys that are present in a provided list:

engine.getTaskService()
    .createTaskQuery()
    .taskDefinitionKeyNotIn("some_def_key", "some_other_def_key")

Pull Requests

Preview Give feedback
  1. jordy-cantaert-vaph
@jordy-cantaert-vaph jordy-cantaert-vaph added the type:feature Issues that add a new user feature to the project. label Mar 4, 2025
@jordy-cantaert-vaph
Copy link
Contributor Author

I would like to work on this issue.

jordy-cantaert-vaph added a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Mar 5, 2025
- adds functionality to filter tasks excluding definition key from a given list

related to camunda#4968
jordy-cantaert-vaph added a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Mar 5, 2025
- adds filter field for task definition key not in query statements to rest api

related to camunda#4968
@psavidis psavidis self-assigned this Mar 7, 2025
@psavidis
Copy link
Contributor

Hello @jordy-cantaert-vaph ,

The request looks reasonable and makes sense to proceed with the review of this little feature.
I'll try to have a look at the end of this week if i have enough time.

If time is not enough, please be informed that the request will be processed.
Will try to keep you posted.

Best,
Petros

@jordy-cantaert-vaph
Copy link
Contributor Author

Hi @psavidis

Thank you for making some time to review this issue.

Best,
Jordy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

2 participants