-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
7.11.4
Use case:
I write a migration plan for my process instances.
We did not set a versionTag in the beginning, so I have several old instances running with null for the version tag.
The new target definition comes with version tag 1.
To build a migration plan, I need the sourceProcessDefinitionIds of all instances running on a versionTag equal to null.
However, I can not query for those definitions, because a query parameter null is not allowed for versionTag.
Suggestion:
Since having a null version tag is common, allow querying for it with a new query method withoutVersionTag.
This is the controller panel for Smart Panels app
1.
|
In the Java API, I can search for process definitions without version tag |
|
Closed | Unassigned |
2.
|
In the REST API, I can search for process definitions without version tag |
|
Closed | Unassigned |
[CAM-10852] Allow search for process definitions without versionTag
Summary | Original: Remove null-check for versionTag in ProcessDefinitionQuery | New: Allow search for process definitions without versionTag |
Description |
Original:
Use case: I write a MigrationPlan for my processInstances. We did not set a versionTag in the beginning, so I have severeal old instances running with versionTag=null and the new target definition with versionTag="1".
To build a migrationPlan, I need the sourceProcessDefinitionIds of all instances running on a versionTag=null. However, I can not query for those definitions, because a queryParameter "null" is reverted by the "ensureNotNull" parameter check. Suggestion: since having a null versionTag is common, allow querying for it. |
New:
*Use case*:
I write a MigrationPlan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with versionTag = "1". To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
Description |
Original:
*Use case*:
I write a MigrationPlan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with versionTag = "1". To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
New:
*Use case*:
I write a migration plan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with versionTag = "1". To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
Description |
Original:
*Use case*:
I write a migration plan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with versionTag = "1". To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
New:
*Use case*:
I write a migration plan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with version tag {{1}}. To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
Description |
Original:
*Use case*:
I write a migration plan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with version tag {{1}}. To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to null. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
New:
*Use case*:
I write a migration plan for my process instances. We did not set a {{versionTag}} in the beginning, so I have several old instances running with {{null}} for the version tag. The new target definition comes with version tag {{1}}. To build a migration plan, I need the {{sourceProcessDefinitionIds}} of all instances running on a {{versionTag}} equal to {{null}}. However, I can not query for those definitions, because a query parameter {{null}} is not allowed for {{versionTag}}. *Suggestion*: Since having a {{null}} version tag is common, allow querying for it with a new query method {{withoutVersionTag}}. |
Status | Original: Open [ 1 ] | New: Ready [ 10005 ] |
Assignee | New: Thorben Lindhauer [ thorben.lindhauer ] |
Link | New: This issue is related to CAMTEAM-44 [ CAMTEAM-44 ] |
Hi jan.galinski@holisticon.de,
thanks for the request.
This sounds like a reasonable addition to the ProcessDefinitionQuery.
I will rephrase the feature a little bit and go for adding an option that allows to search for definitions without versionTag rather than removing the null-check.
I hope that is fine with you.
As usual, if you would like to speed up the integration of that feature we are always happy about code contributions via pull requests.
Thanks again.
Best,
Tobias