Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10852

Allow search for process definitions without versionTag

      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

            [CAM-10852] Allow search for process definitions without versionTag

            Jan Galinski created issue -
            Tobias Metzke-Bernstein made changes -
            Summary Original: Remove null-check for versionTag in ProcessDefinitionQuery New: Allow search for process definitions without versionTag
            Tobias Metzke-Bernstein made changes -
            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}}.
            Tobias Metzke-Bernstein made changes -
            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}}.
            Tobias Metzke-Bernstein made changes -
            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}}.
            Tobias Metzke-Bernstein made changes -
            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}}.
            Tobias Metzke-Bernstein made changes -
            Status Original: Open [ 1 ] New: Ready [ 10005 ]
            Tobias Metzke-Bernstein made changes -
            Assignee New: Thorben Lindhauer [ thorben.lindhauer ]
            Tobias Metzke-Bernstein made changes -
            Link New: This issue is related to CAMTEAM-44 [ CAMTEAM-44 ]
            Thorben Lindhauer made changes -
            Labels New: EasyPick
            Thorben Lindhauer made changes -
            Fix Version/s New: 7.12.0 [ 15387 ]

              Unassigned Unassigned
              jan.galinski@holisticon.de Jan Galinski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: