public interface HistoricProcessInstanceQuery extends Query<HistoricProcessInstanceQuery,HistoricProcessInstance>, DeleteQuery<HistoricProcessInstanceQuery,HistoricProcessInstance>
HistoricProcessInstance
s.Query.NullHandlingOnOrder
Modifier and Type | Method and Description |
---|---|
HistoricProcessInstanceQuery |
activeActivityId(String activityId)
Select the historic process instances which have an active activity instance like the provided id.
|
HistoricProcessInstanceQuery |
activeActivityIds(Set<String> activityIds)
Select the historic process instances which have an active activity instance like the provided ids.
|
HistoricProcessInstanceQuery |
deleted()
Only select historic process instances that are deleted.
|
HistoricProcessInstanceQuery |
deploymentId(String deploymentId)
Only select historic process instances that are defined by a process definition with the given deployment identifier.
|
HistoricProcessInstanceQuery |
deploymentIdIn(List<String> deploymentIds)
Only select historic process instances that are defined by a process definition with one of the given deployment identifiers.
|
HistoricProcessInstanceQuery |
endOr()
End an OR statement.
|
HistoricProcessInstanceQuery |
excludeSubprocesses(boolean excludeSubprocesses)
Exclude sub processes from the query result;
|
HistoricProcessInstanceQuery |
finished()
Only select historic process instances that are completely finished.
|
HistoricProcessInstanceQuery |
finishedAfter(Date date)
Only select historic process instances that were finished after the given date.
|
HistoricProcessInstanceQuery |
finishedBefore(Date date)
Only select historic process instances that were finished before the given date.
|
HistoricProcessInstanceQuery |
includeProcessVariables()
Include process variables in the process query result
|
HistoricProcessInstanceQuery |
involvedGroup(String groupId,
String identityLinkType)
Only select the historic process instances with which the group with the given id and link type is involved.
|
HistoricProcessInstanceQuery |
involvedGroups(Set<String> groups)
Only select the historic process instances with which the group with the given ids are involved.
|
HistoricProcessInstanceQuery |
involvedUser(String userId)
Only select the historic process instances with which the user with the given id is involved.
|
HistoricProcessInstanceQuery |
involvedUser(String userId,
String identityLinkType)
Only select the historic process instances with which the user with the given id and link type is involved.
|
HistoricProcessInstanceQuery |
limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
Deprecated.
no longer needed, this is a noop
|
HistoricProcessInstanceQuery |
locale(String locale)
Localize historic process name and description to specified locale.
|
HistoricProcessInstanceQuery |
notDeleted()
Only select historic process instance that are not deleted.
|
HistoricProcessInstanceQuery |
or()
Begin an OR statement.
|
HistoricProcessInstanceQuery |
orderByProcessDefinitionId()
Order by the process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceBusinessKey()
Order by the business key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceDuration()
Order by the duration of the process instance (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceEndTime()
Order by the end time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceId()
Order by the process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByProcessInstanceStartTime()
Order by the start time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricProcessInstanceQuery |
processDefinitionCategory(String processDefinitionCategory)
Only select historic process instances whose process definition category is processDefinitionCategory.
|
HistoricProcessInstanceQuery |
processDefinitionId(String processDefinitionId)
Only select historic process instances for the given process definition
|
HistoricProcessInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic process instances that are defined by a process definition with the given key.
|
HistoricProcessInstanceQuery |
processDefinitionKeyIn(List<String> processDefinitionKeys)
Only select historic process instances that are defined by a process definition with one of the given process definition keys.
|
HistoricProcessInstanceQuery |
processDefinitionKeyNotIn(List<String> processDefinitionKeys)
Only select historic process instances that don't have a process-definition of which the key is present in the given list
|
HistoricProcessInstanceQuery |
processDefinitionName(String processDefinitionName)
Select process historic instances whose process definition name is processDefinitionName
|
HistoricProcessInstanceQuery |
processDefinitionVersion(Integer processDefinitionVersion)
Only select historic process instances with a certain process definition version.
|
HistoricProcessInstanceQuery |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic process instances with the given business key
|
HistoricProcessInstanceQuery |
processInstanceBusinessKeyLike(String businessKeyLike)
Only select historic process instances with a business key like the given value.
|
HistoricProcessInstanceQuery |
processInstanceCallbackId(String callbackId)
Only select process instances with the given callback identifier.
|
HistoricProcessInstanceQuery |
processInstanceCallbackType(String callbackType)
Only select process instances with the given callback type.
|
HistoricProcessInstanceQuery |
processInstanceId(String processInstanceId)
Only select historic process instances with the given process instance.
|
HistoricProcessInstanceQuery |
processInstanceIds(Set<String> processInstanceIds)
Only select historic process instances whose id is in the given set of ids.
|
HistoricProcessInstanceQuery |
processInstanceName(String name)
Only select process instances with the given name.
|
HistoricProcessInstanceQuery |
processInstanceNameLike(String nameLike)
Only select process instances with a name like the given value.
|
HistoricProcessInstanceQuery |
processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
Only select process instances with a name like the given value, ignoring upper/lower case.
|
HistoricProcessInstanceQuery |
processInstanceReferenceId(String referenceId)
Only select process instances with the given reference identifier.
|
HistoricProcessInstanceQuery |
processInstanceReferenceType(String referenceType)
Only select process instances with the given reference type.
|
HistoricProcessInstanceQuery |
processInstanceTenantId(String tenantId)
Only select process instances that have the given tenant id.
|
HistoricProcessInstanceQuery |
processInstanceTenantIdLike(String tenantIdLike)
Only select process instances with a tenant id like the given one.
|
HistoricProcessInstanceQuery |
processInstanceWithoutTenantId()
Only select process instances that do not have a tenant id.
|
HistoricProcessInstanceQuery |
startedAfter(Date date)
Only select historic process instances that were started after the given date.
|
HistoricProcessInstanceQuery |
startedBefore(Date date)
Only select historic process instances that were started before the given date.
|
HistoricProcessInstanceQuery |
startedBy(String userId)
Only select historic process instance that are started by the given user.
|
HistoricProcessInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Only select historic process instances started by the given process instance.
|
HistoricProcessInstanceQuery |
unfinished()
Only select historic process instance that are not yet finished.
|
HistoricProcessInstanceQuery |
variableExists(String name)
Only select process instances which have a variable with the given name.
|
HistoricProcessInstanceQuery |
variableNotExists(String name)
Only select process instances which does not have a variable with the given name.
|
HistoricProcessInstanceQuery |
variableValueEquals(Object value)
Only select process instances which had at least one global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEquals(String name,
Object value)
Only select process instances which had a global variable with the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueEqualsIgnoreCase(String name,
String value)
Only select historic process instances which have a local string variable with the given value, case insensitive.
|
HistoricProcessInstanceQuery |
variableValueGreaterThan(String name,
Object value)
Only select process instances which had a global variable value greater than the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueGreaterThanOrEqual(String name,
Object value)
Only select process instances which had a global variable value greater than or equal to the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLessThan(String name,
Object value)
Only select process instances which had a global variable value less than the passed value when the ended.
|
HistoricProcessInstanceQuery |
variableValueLessThanOrEqual(String name,
Object value)
Only select process instances which has a global variable value less than or equal to the passed value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLike(String name,
String value)
Only select process instances which had global variable value like the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueLikeIgnoreCase(String name,
String value)
Only select process instances which had global variable value like (case insensitive) the given value when they ended.
|
HistoricProcessInstanceQuery |
variableValueNotEquals(String name,
Object value)
Only select process instances which had a global variable with the given name, but with a different value than the passed value when they ended.
|
HistoricProcessInstanceQuery |
withJobException()
Only select process instances that failed due to an exception happening during a job execution.
|
HistoricProcessInstanceQuery |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
delete, deleteWithRelatedData
HistoricProcessInstanceQuery processInstanceId(String processInstanceId)
ProcessInstance
ids and HistoricProcessInstance
ids match.HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
ProcessInstance
ids and HistoricProcessInstance
ids match.HistoricProcessInstanceQuery processDefinitionId(String processDefinitionId)
HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricProcessInstanceQuery processDefinitionKeyIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
HistoricProcessInstanceQuery processDefinitionCategory(String processDefinitionCategory)
HistoricProcessInstanceQuery processDefinitionName(String processDefinitionName)
HistoricProcessInstanceQuery processDefinitionVersion(Integer processDefinitionVersion)
processDefinitionKey(String)
HistoricProcessInstanceQuery processInstanceBusinessKey(String processInstanceBusinessKey)
HistoricProcessInstanceQuery processInstanceBusinessKeyLike(String businessKeyLike)
HistoricProcessInstanceQuery deploymentId(String deploymentId)
HistoricProcessInstanceQuery deploymentIdIn(List<String> deploymentIds)
HistoricProcessInstanceQuery finished()
HistoricProcessInstanceQuery unfinished()
HistoricProcessInstanceQuery deleted()
HistoricProcessInstanceQuery notDeleted()
HistoricProcessInstanceQuery activeActivityId(String activityId)
HistoricProcessInstanceQuery activeActivityIds(Set<String> activityIds)
HistoricProcessInstanceQuery involvedUser(String userId)
HistoricProcessInstanceQuery involvedUser(String userId, String identityLinkType)
HistoricProcessInstanceQuery involvedGroup(String groupId, String identityLinkType)
HistoricProcessInstanceQuery involvedGroups(Set<String> groups)
HistoricProcessInstanceQuery variableValueEquals(String name, Object value)
ProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured in ProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays and
Serializable
objects (which are not primitive type wrappers) are not supported.name
- of the variable, cannot be null.HistoricProcessInstanceQuery variableValueEquals(Object value)
ProcessInstanceQuery
instead! A variable type is determined based on the value, using types configured in ProcessEngineConfigurationImpl.getVariableTypes()
. Byte-arrays and
Serializable
objects (which are not primitive type wrappers) are not supported.HistoricProcessInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.HistoricProcessInstanceQuery variableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are not supported.name
- of the variable, cannot be null.HistoricProcessInstanceQuery variableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive
type wrappers) are not supported. Only select process instances which have a variable value greater than the passed value.name
- cannot be null.value
- cannot be null.HistoricProcessInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not
primitive type wrappers) are not supported. Only applies to already ended process instances, otherwise use a ProcessInstanceQuery
instead!name
- cannot be null.value
- cannot be null.HistoricProcessInstanceQuery variableValueLessThan(String name, Object value)
ProcessInstanceQuery
instead! Booleans, Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.name
- cannot be null.value
- cannot be null.HistoricProcessInstanceQuery variableValueLessThanOrEqual(String name, Object value)
ProcessInstanceQuery
instead! Booleans, Byte-arrays and Serializable
objects (which are not primitive type wrappers) are not supported.name
- cannot be null.value
- cannot be null.HistoricProcessInstanceQuery variableValueLike(String name, String value)
ProcessInstanceQuery
instead! This can be used on string variables only.name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).HistoricProcessInstanceQuery variableValueLikeIgnoreCase(String name, String value)
ProcessInstanceQuery
instead! This can be used on string variables only.name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).HistoricProcessInstanceQuery variableExists(String name)
name
- cannot be null.HistoricProcessInstanceQuery variableNotExists(String name)
name
- cannot be null.HistoricProcessInstanceQuery startedBefore(Date date)
HistoricProcessInstanceQuery startedAfter(Date date)
HistoricProcessInstanceQuery finishedBefore(Date date)
HistoricProcessInstanceQuery finishedAfter(Date date)
HistoricProcessInstanceQuery startedBy(String userId)
HistoricProcessInstanceQuery processInstanceTenantId(String tenantId)
HistoricProcessInstanceQuery processInstanceTenantIdLike(String tenantIdLike)
HistoricProcessInstanceQuery processInstanceWithoutTenantId()
HistoricProcessInstanceQuery or()
HistoricProcessInstanceQuery endOr()
HistoricProcessInstanceQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByProcessInstanceDuration()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery orderByTenantId()
Query.asc()
or Query.desc()
).HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
ProcessInstance
ids and HistoricProcessInstance
ids match.HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
HistoricProcessInstanceQuery includeProcessVariables()
@Deprecated HistoricProcessInstanceQuery limitProcessInstanceVariables(Integer processInstanceVariablesLimit)
HistoricProcessInstanceQuery withJobException()
HistoricProcessInstanceQuery processInstanceName(String name)
HistoricProcessInstanceQuery processInstanceNameLike(String nameLike)
HistoricProcessInstanceQuery processInstanceNameLikeIgnoreCase(String nameLikeIgnoreCase)
HistoricProcessInstanceQuery processInstanceCallbackId(String callbackId)
HistoricProcessInstanceQuery processInstanceCallbackType(String callbackType)
HistoricProcessInstanceQuery processInstanceReferenceId(String referenceId)
HistoricProcessInstanceQuery processInstanceReferenceType(String referenceType)
HistoricProcessInstanceQuery locale(String locale)
HistoricProcessInstanceQuery withLocalizationFallback()
Copyright © 2021 Flowable. All rights reserved.