public interface PlanItemInstanceQuery extends Query<PlanItemInstanceQuery,PlanItemInstance>
PlanItemInstances.
By default, as with other Flowable runtime API's, only runtime (not ended) plan item instances are returned.
However, PlanItemInstance entities are only removed once a case instance has ended.
This means that PlanItemInstance entities can still be queries when the case instance hasn't finished yet.
To return the 'ended' (i.e. completed/terminated/exit/occurred) instances, use the ended()
or includeEnded() methods.Query.NullHandlingOnOrderPlanItemInstanceQuery caseDefinitionId(String caseDefinitionId)
PlanItemInstanceQuery derivedCaseDefinitionId(String derivedCaseDefinitionId)
PlanItemInstanceQuery caseInstanceId(String caseInstanceId)
PlanItemInstanceQuery stageInstanceId(String stageInstanceId)
PlanItemInstanceQuery planItemInstanceId(String planItemInstanceId)
PlanItemInstanceQuery planItemInstanceElementId(String elementId)
PlanItemInstanceQuery planItemInstanceName(String name)
PlanItemInstanceQuery planItemInstanceState(String state)
PlanItemInstanceQuery planItemInstanceStateWaitingForRepetition()
PlanItemInstanceQuery planItemInstanceStateEnabled()
PlanItemInstanceQuery planItemInstanceStateDisabled()
PlanItemInstanceQuery planItemInstanceStateActive()
PlanItemInstanceQuery planItemInstanceStateAsyncActive()
PlanItemInstanceQuery planItemInstanceStateAsyncActiveLeave()
PlanItemInstanceQuery planItemInstanceStateAvailable()
PlanItemInstanceQuery planItemInstanceStateUnavailable()
PlanItemInstanceQuery planItemInstanceStateCompleted()
PlanItemInstanceQuery planItemInstanceStateTerminated()
PlanItemInstanceQuery planItemInstanceCreatedBefore(Date createdBefore)
PlanItemInstanceQuery planItemInstanceCreatedAfter(Date createdAfter)
PlanItemInstanceQuery planItemInstanceLastAvailableBefore(Date availableBefore)
PlanItemInstanceQuery planItemInstanceLastAvailableAfter(Date availableAfter)
PlanItemInstanceQuery planItemInstanceLastUnavailableBefore(Date unavailableBefore)
PlanItemInstanceQuery planItemInstanceLastUnavailableAfter(Date unavailableAfter)
PlanItemInstanceQuery planItemInstanceLastEnabledBefore(Date enabledBefore)
PlanItemInstanceQuery planItemInstanceLastEnabledAfter(Date enabledAfter)
PlanItemInstanceQuery planItemInstanceLastDisabledBefore(Date disabledBefore)
PlanItemInstanceQuery planItemInstanceLastDisabledAfter(Date disabledAfter)
PlanItemInstanceQuery planItemInstanceLastStartedBefore(Date startedBefore)
PlanItemInstanceQuery planItemInstanceLastStartedAfter(Date startedAfter)
PlanItemInstanceQuery planItemInstanceLastSuspendedBefore(Date suspendedBefore)
PlanItemInstanceQuery planItemInstanceLastSuspendedAfter(Date suspendedAfter)
PlanItemInstanceQuery planItemInstanceCompletedBefore(Date completedBefore)
PlanItemInstanceQuery planItemInstanceCompletedAfter(Date completedAfter)
PlanItemInstanceQuery planItemInstanceOccurredBefore(Date occurredBefore)
PlanItemInstanceQuery planItemInstanceOccurredAfter(Date occurredAfter)
PlanItemInstanceQuery planItemInstanceTerminatedBefore(Date terminatedBefore)
PlanItemInstanceQuery planItemInstanceTerminatedAfter(Date terminatedAfter)
PlanItemInstanceQuery planItemInstanceExitBefore(Date exitBefore)
PlanItemInstanceQuery planItemInstanceExitAfter(Date exitAfter)
PlanItemInstanceQuery planItemInstanceEndedBefore(Date endedBefore)
PlanItemInstanceQuery planItemInstanceEndedAfter(Date endedAfter)
PlanItemInstanceQuery planItemInstanceStartUserId(String startUserId)
PlanItemInstanceQuery planItemInstanceReferenceId(String referenceId)
PlanItemInstanceQuery planItemInstanceReferenceType(String referenceType)
PlanItemInstanceQuery planItemInstanceEntryCriterionId(String entryCriterionId)
PlanItemInstanceQuery planItemInstanceExitCriterionId(String exitCriterionId)
PlanItemInstanceQuery planItemInstanceFormKey(String formKey)
PlanItemInstanceQuery planItemInstanceExtraValue(String extraValue)
PlanItemInstanceQuery planItemInstanceCompletable()
PlanItemInstanceQuery onlyStages()
PlanItemInstanceQuery involvedUser(String involvedUser)
PlanItemInstanceQuery involvedGroups(Collection<String> involvedGroups)
PlanItemInstanceQuery planItemInstanceTenantId(String tenantId)
PlanItemInstanceQuery planItemInstanceWithoutTenantId()
PlanItemInstanceQuery planItemDefinitionId(String planItemDefinitionId)
PlanItemInstanceQuery planItemDefinitionType(String planItemDefinitionType)
PlanItemInstanceQuery planItemDefinitionTypes(List<String> planItemDefinitionType)
PlanItemInstanceQuery ended()
PlanItemInstanceQuery includeEnded()
PlanItemInstanceQuery variableValueEquals(String name, Object value)
Serializable objects (which are not primitive type wrappers) are not supported.name - name of the variable, cannot be null.PlanItemInstanceQuery variableValueEquals(Object value)
Serializable objects (which are not primitive type wrappers) are not supported.PlanItemInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
name - name of the variable, cannot be null.value - value of the variable, cannot be null.PlanItemInstanceQuery variableValueNotEquals(String name, Object value)
Serializable objects (which are not
primitive type wrappers) are not supported.name - name of the variable, cannot be null.PlanItemInstanceQuery variableValueNotEqualsIgnoreCase(String name, String value)
This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
name - name of the variable, cannot be null.value - value of the variable, cannot be null.PlanItemInstanceQuery variableValueGreaterThan(String name, Object value)
Serializable objects (which are not primitive type wrappers) are not
supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
Serializable objects (which are not primitive type
wrappers) are not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery variableValueLessThan(String name, Object value)
Serializable objects (which are not primitive type wrappers) are
not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery variableValueLessThanOrEqual(String name, Object value)
Serializable objects (which are not primitive type
wrappers) are not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery variableValueLike(String name, String value)
name - variable name, cannot be null.value - variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).PlanItemInstanceQuery variableValueLikeIgnoreCase(String name, String value)
name - variable name, cannot be null.value - variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).PlanItemInstanceQuery variableExists(String name)
name - cannot be null.PlanItemInstanceQuery variableNotExists(String name)
name - cannot be null.PlanItemInstanceQuery caseVariableValueEquals(String name, Object value)
Serializable objects (which are not primitive type wrappers) are not supported.name - name of the variable, cannot be null.PlanItemInstanceQuery caseVariableValueEquals(Object value)
Serializable objects (which are not primitive type wrappers) are not supported.PlanItemInstanceQuery caseVariableValueEqualsIgnoreCase(String name, String value)
This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
name - name of the variable, cannot be null.value - value of the variable, cannot be null.PlanItemInstanceQuery caseVariableValueNotEquals(String name, Object value)
Serializable objects (which are not
primitive type wrappers) are not supported.name - name of the variable, cannot be null.PlanItemInstanceQuery caseVariableValueNotEqualsIgnoreCase(String name, String value)
This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
name - name of the variable, cannot be null.value - value of the variable, cannot be null.PlanItemInstanceQuery caseVariableValueGreaterThan(String name, Object value)
Serializable objects (which are not primitive type wrappers) are not
supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery caseVariableValueGreaterThanOrEqual(String name, Object value)
Serializable objects (which are not primitive type
wrappers) are not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery caseVariableValueLessThan(String name, Object value)
Serializable objects (which are not primitive type wrappers) are
not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery caseVariableValueLessThanOrEqual(String name, Object value)
Serializable objects (which are not primitive type
wrappers) are not supported.name - variable name, cannot be null.value - variable value, cannot be null.PlanItemInstanceQuery caseVariableValueLike(String name, String value)
name - variable name, cannot be null.value - variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).PlanItemInstanceQuery caseVariableValueLikeIgnoreCase(String name, String value)
name - variable name, cannot be null.value - variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).PlanItemInstanceQuery caseVariableExists(String name)
name - cannot be null.PlanItemInstanceQuery caseVariableNotExists(String name)
name - cannot be null.PlanItemInstanceQuery locale(String locale)
PlanItemInstanceQuery withLocalizationFallback()
PlanItemInstanceQuery orderByCreateTime()
PlanItemInstanceQuery orderByEndTime()
PlanItemInstanceQuery orderByName()
Copyright © 2022 Flowable. All rights reserved.