Bug 1199993
| Summary: | No results from Process Query API when I query process instances with 2 or more variables | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Ivo Bek <ibek> |
| Component: | Business Central | Assignee: | Shelly McGowan <smcgowan> |
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> |
| Severity: | high | Docs Contact: | Dawn Eisner <deisner> |
| Priority: | high | ||
| Version: | 6.1.0 | CC: | agiertli, kverlaen, lpetrovi, mczernek, rrajasek |
| Target Milestone: | DR1 | Keywords: | Reopened |
| Target Release: | 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
When multiple variables are given for the same query parameter, the query will then search for any results that match one or more of the values entered. However, when logical operations and grouping of values is required (i.e. AND, OR, and such), the search provides no results.
There are no workarounds for this issue at this stage.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 19:35:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ivo Bek
2015-03-09 13:22:29 UTC
The preliminary documentation that I added here: - https://github.com/mrietveld/droolsjbpm-integration/wiki/jBPM-Rest-Query-API states the following: "all of the query parameters described below can be entered multiple times: when multiple values are given for the same query parameter, the query will then search for any results that match one or more of the values entered." which supports this bug request. However, multiple "variable value" parameters require that the underlying query functionality supports "grouping" because the "variable value" parameter (i.e. <variableName> = <string> AND <variableValue> = <string>) actually describes multiple criteria. Adding support for "grouping" criteria is non-trivial. Probably, this will be supported in jBPM 7 - when advanced querying is implemented Reopened, since I'm working on implementing this for community 6.4. *** Bug 1257956 has been marked as a duplicate of this bug. *** Fixed. Commits: master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/488d7447 Verified on BPM Suite 6.3.0 ER2 |