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

Filtering by candidateUser in an OR query does not resolve candidate groups

XMLWordPrintable

      Scenario:

      • There is a task t with candidate group g
      • There is a user u who is a member of g

      When:

      • I make a task query with an or query, such as taskService.createTaskQuery().or().candidateUser("u").endOr().list()

      Current behavior:

      • t is not returned

      Expected behavior:

      • t is returned (as is also the case if no or query is used, such as taskService.createTaskQuery().candidateUser("u").list())

      Reason:

      Implementation notes:

      • To avoid inconsistencies, the query for a user's groups should only be made once, even if I use multiple or queries with the same condition (e.g. taskService.createTaskQuery().or().candidateUser("u").endOr().or().candidateUser("u").endOr().list()

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: