## Uses of Interface
org.activiti.engine.task.TaskQuery

- Packages that use TaskQuery
  Package | Description
  --- | ---
  org.activiti.engine | Public API of the Activiti engine. Typical usage of the API starts by the creation of a `ProcessEngineConfiguration` (typically based on a configuration file), from which a `ProcessEngine` can be obtained. Through the services obtained from such a `ProcessEngine`, BPM and workflow operation can be executed: `RepositoryService`: Manages `Deployment`s `RuntimeService`: For starting and searching `ProcessInstance`s `TaskService`: Exposes operations to manage human (standalone) `Task`s, such as claiming, completing and assigning tasks `IdentityService`: Used for managing `User`s, `Group`s and the relations between them `ManagementService`: Exposes engine admin and maintenance operations, which have no relation to the runtime exection of business processes `HistoryService`: Exposes information about ongoing and past process instances. `FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.
  org.activiti.engine.task | Classes related to the `TaskService`.

- - ### Uses of TaskQuery in org.activiti.engine

    Methods in org.activiti.engine that return TaskQuery
    Modifier and Type | Method and Description
    --- | ---
    `TaskQuery` | TaskService.`createTaskQuery()` Returns a new `TaskQuery` that can be used to dynamically query tasks.

  - ### Uses of TaskQuery in org.activiti.engine.task

    Methods in org.activiti.engine.task that return TaskQuery
    Modifier and Type | Method and Description
    --- | ---
    `TaskQuery` | TaskQuery.`active()` Only selects tasks which are active (ie.
    `TaskQuery` | TaskQuery.`excludeSubtasks()` Only select tasks that have no parent (i.e.
    `TaskQuery` | TaskQuery.`orderByDueDate()` Deprecated. Use orderByTaskDueDate() instead
    `TaskQuery` | TaskQuery.`suspended()` Only selects tasks which are suspended, because its process instance was suspended.
    `TaskQuery` | TaskQuery.`taskCandidateOrAssigned(String userIdForCandidateAndAssignee)` Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).
    `TaskQuery` | TaskQuery.`taskDelegationState(DelegationState delegationState)` Only select tasks with the given `DelegationState`.
    `TaskQuery` | TaskQuery.`taskUnassigned()` Only select tasks which don't have an assignee.
    `TaskQuery` | TaskQuery.`taskUnnassigned()` Deprecated.

Copyright © 2016 Alfresco. All rights reserved.