# Uses of Interface
org.flowable.variable.api.history.HistoricVariableInstanceQuery

Packages that use HistoricVariableInstanceQuery
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.variable.api.history

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

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

- ## Uses of HistoricVariableInstanceQuery in org.flowable.variable.api.history

  Methods in org.flowable.variable.api.history that return HistoricVariableInstanceQuery
  Modifier and Type
  Method
  Description
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`excludeLocalVariables()`
  Only select historic process variables which were not set local.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`excludeTaskVariables()`
  Only select historic process variables which were not set task-local.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`excludeVariableInitialization()`
  Don't initialize variable values.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`executionId(String executionId)`
  Only select historic process variables with the given id.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`executionIds(Set<String> executionIds)`
  Only select historic process variables whose id is in the given set of ids.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`id(String id)`
  Only select a historic variable with the given id.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`orderByProcessInstanceId()`
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`orderByVariableName()`
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`processInstanceId(String processInstanceId)`
  Only select historic process variables with the given process instance.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`processInstanceIds(Collection<String> processInstanceIds)`
  Only select historic process variables with the given process instances.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`scopeId(String scopeId)`
  Only select historic variables with the given scope id.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`scopeIds(Collection<String> scopeIds)`
  Only select historic variables with the given scope ids.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`scopeType(String scopeType)`
  Only select historic variables with the give scope type.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`subScopeId(String subScopeId)`
  Only select historic variables with the given sub scope id.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`taskId(String taskId)`
  Only select historic process variables with the given task.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`taskIds(Set<String> taskIds)`
  Only select historic process variables whose id is in the given set of ids.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableName(String variableName)`
  Only select historic process variables with the given variable name.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableNameLike(String variableNameLike)`
  Only select historic process variables where the given variable name is like.
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableValueEquals(String variableName, Object variableValue)`
  only select historic process variables with the given name and value
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableValueLike(String variableName, String variableValue)`
  only select historic process variables like the given name and value
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableValueLikeIgnoreCase(String variableName, String variableValue)`
  only select historic process variables like the given name and value (case insensitive)
  `HistoricVariableInstanceQuery`
  HistoricVariableInstanceQuery.`variableValueNotEquals(String variableName, Object variableValue)`
  only select historic process variables that don't have the given name and value