Uses of Interface
org.flowable.engine.runtime.ExecutionQuery
Package
Description
Public API of the Flowable engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
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.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
RuntimeService
.-
Uses of ExecutionQuery in org.flowable.engine
Modifier and TypeMethodDescriptionRuntimeService.createExecutionQuery()
Creates a newExecutionQuery
instance, that can be used to query the executions and process instances. -
Uses of ExecutionQuery in org.flowable.engine.impl
Modifier and TypeMethodDescriptionRuntimeServiceImpl.createExecutionQuery()
ExecutionQueryImpl.endOr()
ExecutionQueryImpl.eventSubscription
(String eventType, String eventName) ExecutionQueryImpl.executionReferenceId
(String referenceId) ExecutionQueryImpl.executionReferenceType
(String referenceType) ExecutionQueryImpl.messageEventSubscriptionName
(String messageName) ExecutionQueryImpl.onlyChildExecutions()
ExecutionQueryImpl.onlyProcessInstanceExecutions()
ExecutionQueryImpl.onlySubProcessExecutions()
ExecutionQueryImpl.or()
ExecutionQueryImpl.processDefinitionCategory
(String processDefinitionCategory) ExecutionQueryImpl.processDefinitionCategoryLike
(String processDefinitionCategoryLike) ExecutionQueryImpl.processDefinitionCategoryLikeIgnoreCase
(String processDefinitionCategoryLikeIgnoreCase) ExecutionQueryImpl.processDefinitionEngineVersion
(String processDefinitionEngineVersion) ExecutionQueryImpl.processDefinitionKeys
(Set<String> processDefinitionKeys) ExecutionQueryImpl.processDefinitionName
(String processDefinitionName) ExecutionQueryImpl.processDefinitionNameLike
(String processDefinitionNameLike) ExecutionQueryImpl.processDefinitionNameLikeIgnoreCase
(String processDefinitionNameLikeIgnoreCase) ExecutionQueryImpl.processDefinitionVersion
(Integer processDefinitionVersion) ExecutionQueryImpl.processInstanceBusinessKey
(String businessKey) ExecutionQueryImpl.processInstanceBusinessKey
(String processInstanceBusinessKey, boolean includeChildExecutions) ExecutionQueryImpl.processInstanceBusinessKeyLike
(String businessKeyLike) ExecutionQueryImpl.processInstanceBusinessKeyLike
(String processInstanceBusinessKeyLike, boolean includeChildExecutions) ExecutionQueryImpl.processInstanceBusinessKeyLikeIgnoreCase
(String businessKeyLikeIgnoreCase) ExecutionQueryImpl.processInstanceBusinessKeyLikeIgnoreCase
(String processInstanceBusinessKeyLikeIgnoreCase, boolean includeChildExecutions) ExecutionQueryImpl.processVariableExists
(String name) ExecutionQueryImpl.processVariableNotExists
(String name) ExecutionQueryImpl.processVariableValueEquals
(Object variableValue) ExecutionQueryImpl.processVariableValueEquals
(String variableName, Object variableValue) ExecutionQueryImpl.processVariableValueEqualsIgnoreCase
(String name, String value) ExecutionQueryImpl.processVariableValueGreaterThan
(String name, Object value) ExecutionQueryImpl.processVariableValueGreaterThanOrEqual
(String name, Object value) ExecutionQueryImpl.processVariableValueLessThan
(String name, Object value) ExecutionQueryImpl.processVariableValueLessThanOrEqual
(String name, Object value) ExecutionQueryImpl.processVariableValueLike
(String name, String value) ExecutionQueryImpl.processVariableValueLikeIgnoreCase
(String name, String value) ExecutionQueryImpl.processVariableValueNotEquals
(String variableName, Object variableValue) ExecutionQueryImpl.processVariableValueNotEqualsIgnoreCase
(String name, String value) ExecutionQueryImpl.signalEventSubscription
(String signalName) ExecutionQueryImpl.signalEventSubscriptionName
(String signalName) ExecutionQueryImpl.startedAfter
(Date afterTime) ExecutionQueryImpl.startedBefore
(Date beforeTime) ExecutionQueryImpl.variableExists
(String name) ExecutionQueryImpl.variableNotExists
(String name) ExecutionQueryImpl.variableValueEquals
(Object variableValue) ExecutionQueryImpl.variableValueEquals
(String variableName, Object variableValue) ExecutionQueryImpl.variableValueEqualsIgnoreCase
(String name, String value) ExecutionQueryImpl.variableValueGreaterThan
(String name, Object value) ExecutionQueryImpl.variableValueGreaterThanOrEqual
(String name, Object value) ExecutionQueryImpl.variableValueLessThan
(String name, Object value) ExecutionQueryImpl.variableValueLessThanOrEqual
(String name, Object value) ExecutionQueryImpl.variableValueLike
(String name, String value) ExecutionQueryImpl.variableValueLikeIgnoreCase
(String name, String value) ExecutionQueryImpl.variableValueNotEquals
(String variableName, Object variableValue) ExecutionQueryImpl.variableValueNotEqualsIgnoreCase
(String name, String value) ExecutionQueryImpl.withLocalizationFallback()
-
Uses of ExecutionQuery in org.flowable.engine.interceptor
Modifier and TypeMethodDescriptionvoid
ExecutionQueryInterceptor.afterExecutionQueryExecute
(ExecutionQuery executionQuery, List<Execution> executions) void
ExecutionQueryInterceptor.beforeExecutionQueryExecute
(ExecutionQuery executionQuery) -
Uses of ExecutionQuery in org.flowable.engine.runtime
Modifier and TypeMethodDescriptionExecutionQuery.activityId
(String activityId) Only select executions which contain an activity with the given id.ExecutionQuery.endOr()
End an OR statement.ExecutionQuery.executionId
(String executionId) Only select executions with the given id.ExecutionQuery.executionReferenceId
(String referenceId) Only select executions with the given reference id.ExecutionQuery.executionReferenceType
(String referenceType) Only select executions with the given reference type.ExecutionQuery.executionTenantId
(String tenantId) Only select process instances that have the given tenant id.ExecutionQuery.executionTenantIdLike
(String tenantIdLike) Only select process instances with a tenant id like the given one.ExecutionQuery.executionTenantIdLikeIgnoreCase
(String tenantIdLikeIgnoreCase) Only select process instances with a tenant id like the given one, ignoring upper/lower case.ExecutionQuery.executionWithoutTenantId()
Only select process instances that do not have a tenant id.Localize execution name and description to specified locale.ExecutionQuery.messageEventSubscriptionName
(String messageName) Only select executions which have a message event subscription for the given messageName.ExecutionQuery.onlyChildExecutions()
Only selects executions that have a parent id set, ie non-processinstance executions.ExecutionQuery.onlyProcessInstanceExecutions()
Only selects executions that have no parent id set, ie process instance executionsExecutionQuery.onlySubProcessExecutions()
Only selects executions that are a subprocess.ExecutionQuery.or()
Begin an OR statement.ExecutionQuery.orderByProcessDefinitionId()
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).ExecutionQuery.orderByProcessDefinitionKey()
Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).ExecutionQuery.orderByProcessInstanceId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).ExecutionQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).Only select executions which are a direct child-execution of the execution with the given id.ExecutionQuery.processDefinitionCategory
(String processDefinitionCategory) Only select executions which have the given process definition category.ExecutionQuery.processDefinitionCategoryLike
(String processDefinitionCategoryLike) Only select executions which have a process definition category like the given value.ExecutionQuery.processDefinitionCategoryLikeIgnoreCase
(String processDefinitionCategoryLikeIgnoreCase) Only select executions which have a process definition category like the given value, ignoring upper/lower case.ExecutionQuery.processDefinitionEngineVersion
(String processDefinitionEngineVersion) Only select executions which have the given process definition engine version.ExecutionQuery.processDefinitionId
(String processDefinitionId) Only select executions which have the given process definition id.ExecutionQuery.processDefinitionKey
(String processDefinitionKey) Only select executions which have the given process definition key.ExecutionQuery.processDefinitionKeyLike
(String processDefinitionKeyLike) Only select executions which have a process definition key like the given value.ExecutionQuery.processDefinitionKeyLikeIgnoreCase
(String processDefinitionKeyLikeIgnoreCase) Only select executions which have a process definition key like the given value, ignoring upper/lower case.ExecutionQuery.processDefinitionKeys
(Set<String> processDefinitionKeys) Only select executions which have process definitions with the given keys.ExecutionQuery.processDefinitionName
(String processDefinitionName) Only select executions which have the given process definition name.ExecutionQuery.processDefinitionNameLike
(String processDefinitionNameLike) Only select executions which have a process definition name like the given value.ExecutionQuery.processDefinitionNameLikeIgnoreCase
(String processDefinitionNameLikeIgnoreCase) Only select executions which have a process definition name like the given value, ignoring upper/lower case.ExecutionQuery.processDefinitionVersion
(Integer processDefinitionVersion) Only select executions which have the given process definition version.ExecutionQuery.processInstanceBusinessKey
(String processInstanceBusinessKey) Only executions with the given business key.ExecutionQuery.processInstanceBusinessKey
(String processInstanceBusinessKey, boolean includeChildExecutions) Only executions with the given business key.ExecutionQuery.processInstanceBusinessKeyLike
(String processInstanceBusinessKeyLike) Only executions that have a business key like the given value.ExecutionQuery.processInstanceBusinessKeyLike
(String processInstanceBusinessKeyLike, boolean includeChildExecutions) Only executions that have a business key like the given value.ExecutionQuery.processInstanceBusinessKeyLikeIgnoreCase
(String processInstanceBusinessKeyLikeIgnoreCase) Only executions that have a business key like the given value, ignoring upper/lower case.ExecutionQuery.processInstanceBusinessKeyLikeIgnoreCase
(String processInstanceBusinessKeyLikeIgnoreCase, boolean includeChildExecutions) Only executions that have a business key like the given value, ignoring upper/lower case.ExecutionQuery.processInstanceId
(String processInstanceId) Only select executions which have the given process instance id.ExecutionQuery.processVariableExists
(String name) Only select executions which are part of a process that have a variable with the given name.ExecutionQuery.processVariableNotExists
(String name) Only select executions which are part of a process that don't have a variable with the given name.ExecutionQuery.processVariableValueEquals
(Object variableValue) Only select executions which are part of a process that have at least one variable with the given value.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.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.processVariableValueGreaterThan
(String name, Object value) Only select executions which have a process instance variable value greater than the passed value.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.processVariableValueLessThan
(String name, Object value) Only select executions which have a process instance variable value less than the passed value.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.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.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.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.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.rootProcessInstanceId
(String rootProcessInstanceId) Only select executions which have the given root process instance id.ExecutionQuery.signalEventSubscriptionName
(String signalName) Only select executions which have a signal event subscription for the given signal name.ExecutionQuery.startedAfter
(Date afterTime) Only select executions that were started after the given start time.ExecutionQuery.startedBefore
(Date beforeTime) Only select executions that were started before the given start time.Only select executions that were started after by the given user id.ExecutionQuery.variableExists
(String name) Only select executions which have a local variable with the given name.ExecutionQuery.variableNotExists
(String name) Only select executions which does not have a local variable with the given name.ExecutionQuery.variableValueEquals
(Object value) Only select executions which have at least one local variable with the given value.ExecutionQuery.variableValueEquals
(String name, Object value) Only select executions which have a local variable with the given value.ExecutionQuery.variableValueEqualsIgnoreCase
(String name, String value) Only select executions which have a local string variable with the given value, case insensitive.ExecutionQuery.variableValueGreaterThan
(String name, Object value) Only select executions which have a local variable value greater than the passed value.ExecutionQuery.variableValueGreaterThanOrEqual
(String name, Object value) Only select executions which have a local variable value greater than or equal to the passed value.ExecutionQuery.variableValueLessThan
(String name, Object value) Only select executions which have a local variable value less than the passed value.ExecutionQuery.variableValueLessThanOrEqual
(String name, Object value) Only select executions which have a local variable value less than or equal to the passed value.ExecutionQuery.variableValueLike
(String name, String value) Only select executions which have a local variable value like the given value.ExecutionQuery.variableValueLikeIgnoreCase
(String name, String value) Only select executions which have a local variable value like the given value (case insensitive).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.variableValueNotEqualsIgnoreCase
(String name, String value) Only select executions which have a local string variable which is not the given value, case insensitive.ExecutionQuery.withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.