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

"Like" query for candidate group #4540

Closed
1 task done
jordy-cantaert-vaph opened this issue Aug 19, 2024 · 3 comments
Closed
1 task done

"Like" query for candidate group #4540

jordy-cantaert-vaph opened this issue Aug 19, 2024 · 3 comments
Assignees
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project. version:7.22.0-alpha6 version:7.22.0

Comments

@jordy-cantaert-vaph
Copy link
Contributor

jordy-cantaert-vaph commented Aug 19, 2024

User Story

We have a situation where we want to use the engine to query active tasks based on their candidate group using a "like" query. As far as we can tell there are currently no method available for this. It would be great if some functionality could be added to the TaskQuery class for these cases.

Functional Requirements

We need the to be able to search tasks filtering on candidate groups using a "like" statement.

Technical Requirements

Add methods to the TaskQuery class to query tasks filtering on candidate groups using a "like" statement:

engine.getTaskService()
    .createTaskQuery()
    .taskCandidateGroupLike("%some string%")

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 Aug 19, 2024
@jordy-cantaert-vaph
Copy link
Contributor Author

jordy-cantaert-vaph commented Aug 19, 2024

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 Aug 20, 2024
- adds functionality to filter tasks on a candidate group using a like-statement

related to camunda#4540
jordy-cantaert-vaph added a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Aug 20, 2024
- adds filter field for candidate group like-statements to rest api

related to camunda#4540
@jordy-cantaert-vaph jordy-cantaert-vaph changed the title "Like" queries for candidate groups "Like" query for candidate group Aug 22, 2024
jordy-cantaert-vaph added a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Aug 22, 2024
- removes expression reset for candidate group when candidate group like is set

related to camunda#4540
jordy-cantaert-vaph added a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Aug 22, 2024
- test query by include assigned tasks without missing candidate user or group to not throw an exception

related to camunda#4540
@danielkelemen danielkelemen self-assigned this Aug 23, 2024
@danielkelemen
Copy link
Member

danielkelemen commented Aug 23, 2024

Hi @jordy-cantaert-vaph,

Thank you for opening an issue and already contributing with a PR!
Feature makes sense to me, I see no reason why we shouldn't have it. I will soon review your code and provide some feedback.

Please also sign our CLA, you can find it in your PR.

-Daniel

@danielkelemen danielkelemen added scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI potential:7.22.0 labels Aug 23, 2024
@jordy-cantaert-vaph
Copy link
Contributor Author

Hi @danielkelemen

Thank you for making some time to review this issue & my PR! In the meantime I've signed the CLA.

Jordy

joaquinfelici pushed a commit that referenced this issue Sep 17, 2024
- adds functionality to filter tasks on a candidate group using a like-statement

related to #4540
joaquinfelici pushed a commit to jordy-cantaert-vaph/camunda-bpm-platform that referenced this issue Sep 19, 2024
- adds functionality to filter tasks on a candidate group using a like-statement

related to camunda#4540
joaquinfelici pushed a commit that referenced this issue Sep 19, 2024
- adds functionality to filter tasks on a candidate group using a like-statement

related to #4540
joaquinfelici pushed a commit that referenced this issue Sep 19, 2024
- adds functionality to filter tasks on a candidate group using a like-statement

related to #4540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project. version:7.22.0-alpha6 version:7.22.0
Projects
None yet
Development

No branches or pull requests

5 participants