# Uses of Interface
org.flowable.engine.runtime.ExecutionQuery

Packages that use ExecutionQuery
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.interceptor
org.flowable.engine.runtime
Classes related to the `RuntimeService`.

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

  Methods in org.flowable.engine that return ExecutionQuery
  Modifier and Type
  Method
  Description
  `ExecutionQuery`
  RuntimeService.`createExecutionQuery()`
  Creates a new `ExecutionQuery` instance, that can be used to query the executions and process instances.

- ## Uses of ExecutionQuery in org.flowable.engine.interceptor

  Methods in org.flowable.engine.interceptor with parameters of type ExecutionQuery
  Modifier and Type
  Method
  Description
  `void`
  ExecutionQueryInterceptor.`afterExecutionQueryExecute(ExecutionQuery executionQuery, List<Execution> executions)`
  `void`
  ExecutionQueryInterceptor.`beforeExecutionQueryExecute(ExecutionQuery executionQuery)`

- ## Uses of ExecutionQuery in org.flowable.engine.runtime

  Methods in org.flowable.engine.runtime that return ExecutionQuery
  Modifier and Type
  Method
  Description
  `ExecutionQuery`
  ExecutionQuery.`activityId(String activityId)`
  Only select executions which contain an activity with the given id.
  `ExecutionQuery`
  ExecutionQuery.`endOr()`
  End an OR statement.
  `ExecutionQuery`
  ExecutionQuery.`excludeProcessDefinitionKeys(Set<String> processDefinitionKeys)`
  Only select executions which have process definitions that don't match with the given keys.
  `ExecutionQuery`
  ExecutionQuery.`executionId(String executionId)`
  Only select executions with the given id.
  `ExecutionQuery`
  ExecutionQuery.`executionReferenceId(String referenceId)`
  Only select executions with the given reference id.
  `ExecutionQuery`
  ExecutionQuery.`executionReferenceType(String referenceType)`
  Only select executions with the given reference type.
  `ExecutionQuery`
  ExecutionQuery.`executionTenantId(String tenantId)`
  Only select process instances that have the given tenant id.
  `ExecutionQuery`
  ExecutionQuery.`executionTenantIdLike(String tenantIdLike)`
  Only select process instances with a tenant id like the given one.
  `ExecutionQuery`
  ExecutionQuery.`executionTenantIdLikeIgnoreCase(String tenantIdLikeIgnoreCase)`
  Only select process instances with a tenant id like the given one, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`executionWithoutTenantId()`
  Only select process instances that do not have a tenant id.
  `ExecutionQuery`
  ExecutionQuery.`locale(String locale)`
  Localize execution name and description to specified locale.
  `ExecutionQuery`
  ExecutionQuery.`messageEventSubscriptionName(String messageName)`
  Only select executions which have a message event subscription for the given messageName.
  `ExecutionQuery`
  ExecutionQuery.`onlyChildExecutions()`
  Only selects executions that have a parent id set, ie non-processinstance executions.
  `ExecutionQuery`
  ExecutionQuery.`onlyProcessInstanceExecutions()`
  Only selects executions that have no parent id set, ie process instance executions
  `ExecutionQuery`
  ExecutionQuery.`onlySubProcessExecutions()`
  Only selects executions that are a subprocess.
  `ExecutionQuery`
  ExecutionQuery.`or()`
  Begin an OR statement.
  `ExecutionQuery`
  ExecutionQuery.`orderByProcessDefinitionId()`
  Order by process definition id (needs to be followed by `Query.asc()` or `Query.desc()`).
  `ExecutionQuery`
  ExecutionQuery.`orderByProcessDefinitionKey()`
  Order by process definition key (needs to be followed by `Query.asc()` or `Query.desc()`).
  `ExecutionQuery`
  ExecutionQuery.`orderByProcessInstanceId()`
  Order by id (needs to be followed by `Query.asc()` or `Query.desc()`).
  `ExecutionQuery`
  ExecutionQuery.`orderByTenantId()`
  Order by tenant id (needs to be followed by `Query.asc()` or `Query.desc()`).
  `ExecutionQuery`
  ExecutionQuery.`parentId(String parentId)`
  Only select executions which are a direct child-execution of the execution with the given id.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionCategory(String processDefinitionCategory)`
  Only select executions which have the given process definition category.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionCategoryLike(String processDefinitionCategoryLike)`
  Only select executions which have a process definition category like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionCategoryLikeIgnoreCase(String processDefinitionCategoryLikeIgnoreCase)`
  Only select executions which have a process definition category like the given value, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionEngineVersion(String processDefinitionEngineVersion)`
  Only select executions which have the given process definition engine version.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionId(String processDefinitionId)`
  Only select executions which have the given process definition id.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionKey(String processDefinitionKey)`
  Only select executions which have the given process definition key.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionKeyLike(String processDefinitionKeyLike)`
  Only select executions which have a process definition key like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase)`
  Only select executions which have a process definition key like the given value, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionKeys(Set<String> processDefinitionKeys)`
  Only select executions which have process definitions with the given keys.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionName(String processDefinitionName)`
  Only select executions which have the given process definition name.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionNameLike(String processDefinitionNameLike)`
  Only select executions which have a process definition name like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionNameLikeIgnoreCase(String processDefinitionNameLikeIgnoreCase)`
  Only select executions which have a process definition name like the given value, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`processDefinitionVersion(Integer processDefinitionVersion)`
  Only select executions which have the given process definition version.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKey(String processInstanceBusinessKey)`
  Only executions with the given business key.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKey(String processInstanceBusinessKey, boolean includeChildExecutions)`
  Only executions with the given business key.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)`
  Only executions that have a business key like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike, boolean includeChildExecutions)`
  Only executions that have a business key like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase)`
  Only executions that have a business key like the given value, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase, boolean includeChildExecutions)`
  Only executions that have a business key like the given value, ignoring upper/lower case.
  `ExecutionQuery`
  ExecutionQuery.`processInstanceId(String processInstanceId)`
  Only select executions which have the given process instance id.
  `ExecutionQuery`
  ExecutionQuery.`processVariableExists(String name)`
  Only select executions which are part of a process that have a variable with the given name.
  `ExecutionQuery`
  ExecutionQuery.`processVariableNotExists(String name)`
  Only select executions which are part of a process that don't have a variable with the given name.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueEquals(Object variableValue)`
  Only select executions which are part of a process that have at least one variable with the given value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueEquals(String variableName, Object variableValue)`
  Only select executions which are part of a process that have a variable with the given name set to the given value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueEqualsIgnoreCase(String name, String value)`
  Only select executions which are part of a process that have a local string variable with the given value, case insensitive.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueGreaterThan(String name, Object value)`
  Only select executions which have a process instance variable value greater than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueGreaterThanOrEqual(String name, Object value)`
  Only select executions which have a process instance variable value greater than or equal to the passed value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueLessThan(String name, Object value)`
  Only select executions which have a process instance variable value less than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueLessThanOrEqual(String name, Object value)`
  Only select executions which have a process instance variable value less than or equal to the passed value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueLike(String name, String value)`
  Only select executions which are part of a process that have at least one variable like the given value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueLikeIgnoreCase(String name, String value)`
  Only select executions which are part of a process that have at least one variable like the given value (case insensitive).
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueNotEquals(String variableName, Object variableValue)`
  Only select executions which are part of a process that have a variable with the given name, but with a different value than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`processVariableValueNotEqualsIgnoreCase(String name, String value)`
  Only select executions which are part of a process that have a local string variable which is not the given value, case insensitive.
  `ExecutionQuery`
  ExecutionQuery.`rootProcessInstanceId(String rootProcessInstanceId)`
  Only select executions which have the given root process instance id.
  `ExecutionQuery`
  ExecutionQuery.`signalEventSubscriptionName(String signalName)`
  Only select executions which have a signal event subscription for the given signal name.
  `ExecutionQuery`
  ExecutionQuery.`startedAfter(Date afterTime)`
  Only select executions that were started after the given start time.
  `ExecutionQuery`
  ExecutionQuery.`startedBefore(Date beforeTime)`
  Only select executions that were started before the given start time.
  `ExecutionQuery`
  ExecutionQuery.`startedBy(String userId)`
  Only select executions that were started after by the given user id.
  `ExecutionQuery`
  ExecutionQuery.`variableExists(String name)`
  Only select executions which have a local variable with the given name.
  `ExecutionQuery`
  ExecutionQuery.`variableNotExists(String name)`
  Only select executions which does not have a local variable with the given name.
  `ExecutionQuery`
  ExecutionQuery.`variableValueEquals(Object value)`
  Only select executions which have at least one local variable with the given value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueEquals(String name, Object value)`
  Only select executions which have a local variable with the given value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueEqualsIgnoreCase(String name, String value)`
  Only select executions which have a local string variable with the given value, case insensitive.
  `ExecutionQuery`
  ExecutionQuery.`variableValueGreaterThan(String name, Object value)`
  Only select executions which have a local variable value greater than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueGreaterThanOrEqual(String name, Object value)`
  Only select executions which have a local variable value greater than or equal to the passed value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueLessThan(String name, Object value)`
  Only select executions which have a local variable value less than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueLessThanOrEqual(String name, Object value)`
  Only select executions which have a local variable value less than or equal to the passed value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueLike(String name, String value)`
  Only select executions which have a local variable value like the given value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueLikeIgnoreCase(String name, String value)`
  Only select executions which have a local variable value like the given value (case insensitive).
  `ExecutionQuery`
  ExecutionQuery.`variableValueNotEquals(String name, Object value)`
  Only select executions which have a local variable with the given name, but with a different value than the passed value.
  `ExecutionQuery`
  ExecutionQuery.`variableValueNotEqualsIgnoreCase(String name, String value)`
  Only select executions which have a local string variable which is not the given value, case insensitive.
  `ExecutionQuery`
  ExecutionQuery.`withLocalizationFallback()`
  Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.