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

Historic task instances can't be filtered by process variables with LIKE operator

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.6.0
    • Fix Version/s: None
    • Component/s: engine
    • Labels:
      None

      Description

      In the doc (https://docs.camunda.org/manual/7.5/reference/rest/history/task/get-task-query-count/) it says:

      Valid operator values are: eq - equal to; neq - not equal to; gt - greater than; gteq - greater than or equal to; lt - lower than; lteq - lower than or equal to; like.
      key and value may not contain underscore or comma characters.

      But when I try to filter with the LIKE operator, it returns: "Invalid variable comperator specified: like" Looking at the source code (https://github.com/camunda/camunda-bpm-platform/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/history/HistoricTaskInstanceQueryDto.java#L551), it seems as only the EQUALS operator is implemented here. It's different (https://github.com/camunda/camunda-bpm-platform/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/task/TaskQueryDto.java#L1205) for the current instances.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            g10163814 Steffen F.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: