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

I can filter process instances by root process instance id #2582

Open
1 task
ThorbenLindhauer opened this issue Apr 23, 2021 · 5 comments
Open
1 task

I can filter process instances by root process instance id #2582

ThorbenLindhauer opened this issue Apr 23, 2021 · 5 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.

Comments

@ThorbenLindhauer
Copy link
Member

ThorbenLindhauer commented Apr 23, 2021

This issue was imported from JIRA:

Field Value
JIRA Link CAM-13424
Reporter @ThorbenLindhauer
Has restricted visibility comments true

User Story (Required on creation):

In order to suspend/activate an entire process instance hierarchy at once, the IDs of those instances must be known. If I can filter by root process instance id, I can easily do that.

Functional Requirements (Required before implementation):

  • There is a new filter on the process instance query rootProcessInstanceId that returns all instances with a root process instance id equal to the argument

Technical Requirements (Required before implementation):

  • Java API, REST API, OpenAPI, Cockpit

Limitations of Scope (Optional):

Hints (Optional):

  • Consider implementing it for the historic query as well to be consistent

Links:

Pull Requests

Preview Give feedback
  1. prakashpalanisamy
@prakashpalanisamy
Copy link
Contributor

@ThorbenLindhauer I would like to pick this issue up. Please let me know if that okay with you. Thanks!!

@joaquinfelici
Copy link
Contributor

Hello @prakashpalanisamy ,

Thanks for your interest in contributing. Indeed, you can go ahead and work on this, and open a pull request when you think it's ready.

Something very similar was done for the historic task instance query api, you can take inspiration from it.

Some pointers and useful links:

Thanks again!

@prakashpalanisamy
Copy link
Contributor

@joaquinfelici Thank you for all the pointers that you have provided and giving me a go ahead to take this issue up. Ill take some time to go over the links and get back if there are any questions. Thank you!! :)

@prakashpalanisamy
Copy link
Contributor

@joaquinfelici I have raised a PR for this Git Issue #4925 . Can you please take a look and provide your feedback when you get time? Thanks!!

@joaquinfelici
Copy link
Contributor

Hey @prakashpalanisamy , thanks! I left a couple of comments in the PR, will continue the review after the CI is finished.

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.
Projects
None yet
Development

No branches or pull requests

3 participants