Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

"Not In" query for task definition keys #4968

@jordy-cantaert-vaph

Description

@jordy-cantaert-vaph

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions