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

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • 7.6.0
    • engine
    • 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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              g10163814 Steffen F.
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce