# Uses of Interface
org.flowable.variable.api.runtime.VariableInstanceQuery

Packages that use VariableInstanceQuery
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.runtime

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

  Methods in org.flowable.engine that return VariableInstanceQuery
  Modifier and Type
  Method
  Description
  `VariableInstanceQuery`
  RuntimeService.`createVariableInstanceQuery()`
  Creates a new programmatic query to search for `VariableInstance`s.

- ## Uses of VariableInstanceQuery in org.flowable.variable.api.runtime

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