-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.6.0
-
None
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.
This is the controller panel for Smart Panels app
[CAM-7483] Historic task instances can't be filtered by process variables with LIKE operator
Description |
Original:
In the [doc](https://docs.camunda.org/manual/7.5/reference/rest/history/task/get-task-query-count/) it says: {quote}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.{quote} 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. |
New:
In the doc (https://docs.camunda.org/manual/7.5/reference/rest/history/task/get-task-query-count/) it says: {quote}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.{quote} 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. |
Affects Version/s | New: 7.6.0 [ 14490 ] | |
Affects Version/s | Original: 7.6.2 [ 14700 ] |
Workflow | Original: camunda BPM [ 41983 ] | New: Backup_camunda BPM [ 56168 ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |