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

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

XMLWordPrintable

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

      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);
      

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: