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

I can use #extend with OR expr. for querying tasks

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.8.0, 7.8.0-alpha1
    • None
    • None
    • None

    Description

      TaskQueryImpl#extend combines two separate queries into one. This behavior should also be available when using OR expression within queries.

      TaskQuery extendedQuery = taskService.createQuery()
        .startOr()
          .taskName("aTaskName")
          .taskDescription("aTaskDescription")
        .endOr();
      
      TaskQuery extendingQuery = taksService.createQuery()
        .startOr()
          .candidateUser("aCandidateUser")
          .candidateGroup("aCandidateGroup")
        .endOr();
      
      TaskQuery combinedQuery = (TaskQueryImpl extendedQuery).extend(extendingQuery);
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tassilo.weidner Tassilo Weidner
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce