Filter criteria "Business Key Like" is not stored as an expression

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: tasklist

      Steps to reproduce:
      1) login to tasklist
      2) create a new filter
      3) enter a filter name
      4) add a criteria "Business Key Like" with the value ${currentUser}
      5) save filter

      Problem:
      The following request is peformed:

      POST /filter/create

      with the following request body

      { ...
        "query": {
          "processInstanceBusinessKeyLike":"%${ currentUser() }%"
        },
        ...
      }
      

      Expected Behavior:
      The request body should be

      { ...
        "query": {
          "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%"
        },
        ...
      }
      

      I.e. the criteria name processInstanceBusinessKeyLikeExpression should be set.

      Hint:

      • In [1] the value will be manipulated, so that in [2] the function isExpression() returns false.
      • The "Business Key Like Expression" cannot be used in the search field "Filter Tasks"

      [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259
      [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Roman Smirnov
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: