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

I can use .assigneeIn(...) in task Query

    Details

      Description

      At:

      • using the Java Api, I can provide a list of assignees when querying for tasks
      • at the SQL Level, this is translated into the SQL in ... statement
      • also available in the REST api
      • can be used in filters
      • can be integrated into Tasklist

      ===

      Api Idea:

      taskService.assigneeIn("task1", "task2", ...).list();
      

      ==

      Example Usecases:

      • Person A and Person B go to vacation and want Person C to have access to the same tasks that are assigned to Person A and Person B. For that purpose, they need a new Filter defined in the Tasklist (https://docs.camunda.org/manual/7.7/webapps/tasklist/filters/) that shows all tasks of Person A and Person B for Person C.

        Issue Links

          Activity

          Hide
          nikola.koevski Nikola Koevski added a comment -

          Since the TaskQuery class is used in Tasklist Filters, new properties of this class need to be added in:

          1. The JsonTaskQueryConverter#toJsonObject and JsonTaskQueryConverter#toObject methods, so that a TaskQuery can be de/serialized for a Tasklist Filter.
          2. The new property needs to be included in the TaskQueryImpl#extendQuery method, so that the query can receive additional parameters when it is executed.
          Show
          nikola.koevski Nikola Koevski added a comment - Since the TaskQuery class is used in Tasklist Filters, new properties of this class need to be added in: The JsonTaskQueryConverter#toJsonObject and JsonTaskQueryConverter#toObject methods, so that a TaskQuery can be de/serialized for a Tasklist Filter. The new property needs to be included in the TaskQueryImpl#extendQuery method, so that the query can receive additional parameters when it is executed.

            People

            • Assignee:
              Unassigned
              Reporter:
              matthijs.burke Matthijs Burke
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development