# Uses of Interface
org.flowable.engine.history.HistoricDetailQuery

Packages that use HistoricDetailQuery
Package
Description
org.flowable.engine
Public API of the Flowable 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) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration 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.flowable.engine.history
Classes related to the `HistoryService`.

- ## Uses of HistoricDetailQuery in org.flowable.engine

  Methods in org.flowable.engine that return HistoricDetailQuery
  Modifier and Type
  Method
  Description
  `HistoricDetailQuery`
  HistoryService.`createHistoricDetailQuery()`
  Creates a new programmatic query to search for `HistoricDetail`s.

- ## Uses of HistoricDetailQuery in org.flowable.engine.history

  Methods in org.flowable.engine.history that return HistoricDetailQuery
  Modifier and Type
  Method
  Description
  `HistoricDetailQuery`
  HistoricDetailQuery.`activityInstanceId(String activityInstanceId)`
  Only select historic variable updates associated to the given `activity instance`.
  `HistoricDetailQuery`
  HistoricDetailQuery.`excludeTaskDetails()`
  Exclude all task-related `HistoricDetail`s, so only items which have no task-id set will be selected.
  `HistoricDetailQuery`
  HistoricDetailQuery.`executionId(String executionId)`
  Only select historic variable updates with the given execution.
  `HistoricDetailQuery`
  HistoricDetailQuery.`formProperties()`
  Only select `HistoricFormProperty`s.
  `HistoricDetailQuery`
  HistoricDetailQuery.`id(String id)`
  Only select historic info with the given id.
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByFormPropertyId()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByProcessInstanceId()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByTime()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByVariableName()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByVariableRevision()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`orderByVariableType()`
  `HistoricDetailQuery`
  HistoricDetailQuery.`processInstanceId(String processInstanceId)`
  Only select historic variable updates with the given process instance.
  `HistoricDetailQuery`
  HistoricDetailQuery.`taskId(String taskId)`
  Only select historic variable updates associated to the given `historic task instance`.
  `HistoricDetailQuery`
  HistoricDetailQuery.`variableUpdates()`
  Only select `HistoricVariableUpdate`s.