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

Support OR condition in TaskQuery

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.3.3
    • Fix Version/s: 7.8.0, 7.8.0-alpha2
    • Component/s: None
    • Labels:

      Description

      TaskQuery API does not support OR conditions at the moment.

      It would be very helpful if we could use this condition to build more complex queries for example
      all tasks which a user is candidate user or member of a candidate group.
      At the moment this has to be executed in two separate queries or we have to use native queries.

      Two different queries get complicated if we work with pagination and sorting.

      Related forum post with example of Activiti API: https://forum.camunda.org/t/java-query-api-or-and-endor-clause/1785/2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              EinsZwo Markus Hens
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: