Interface TaskQuery

    • Method Detail

      • taskCandidateOrAssigned

        TaskQuery taskCandidateOrAssigned​(String userIdForCandidateAndAssignee)
        Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups). You can invoke TaskInfoQuery.taskCandidateGroupIn(Collection) to include tasks that can be claimed by a user in the given groups while set property dbIdentityUsed to false in process engine configuration or using custom session factory of GroupIdentityManager.
      • excludeSubtasks

        TaskQuery excludeSubtasks()
        Only select tasks that have no parent (i.e. do not select subtasks).
      • suspended

        TaskQuery suspended()
        Only selects tasks which are suspended, because its process instance was suspended.
      • active

        TaskQuery active()
        Only selects tasks which are active (ie. not suspended)