public interface ExecutionQuery extends Query<ExecutionQuery,Execution>
Execution
s.Modifier and Type | Method and Description |
---|---|
ExecutionQuery |
active()
Only selects executions which are active (i.e.
|
ExecutionQuery |
activityId(String activityId)
Only select executions which contain an activity with the given id.
|
ExecutionQuery |
executionId(String executionId)
Only select executions with the given id.
|
ExecutionQuery |
incidentId(String incidentId)
Only selects executions with the given incident id.
|
ExecutionQuery |
incidentMessage(String incidentMessage)
Only selects executions with the given incident message.
|
ExecutionQuery |
incidentMessageLike(String incidentMessageLike)
Only selects executions with an incident message like the given.
|
ExecutionQuery |
incidentType(String incidentType)
Only selects executions with the given incident type.
|
ExecutionQuery |
matchVariableNamesIgnoreCase()
The query will match the names of variables in a case-insensitive way.
|
ExecutionQuery |
matchVariableValuesIgnoreCase()
The query will match the values of variables in a case-insensitive way.
|
ExecutionQuery |
messageEventSubscription()
Only select executions that have a message event subscription.
|
ExecutionQuery |
messageEventSubscriptionName(String messageName)
Only select executions which have a message event subscription
for the given messageName.
|
ExecutionQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByProcessInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
ExecutionQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
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 |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select executions that belong to a process instance with the given business key
|
ExecutionQuery |
processInstanceId(String processInstanceId)
Only select executions which have the given process instance id.
|
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 |
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 |
signalEventSubscription(String signalName)
Deprecated.
|
ExecutionQuery |
signalEventSubscriptionName(String signalName)
Only select executions which have a signal event subscription
for the given signal name.
|
ExecutionQuery |
suspended()
Only selects executions which are suspended, because their process instance is suspended.
|
ExecutionQuery |
tenantIdIn(String... tenantIds)
Only selects executions with one of the given tenant ids.
|
ExecutionQuery |
variableValueEquals(String name,
Object value)
Only select executions which have a local variable with the given value.
|
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 |
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 |
withoutTenantId()
Only selects executions which have no tenant id.
|
asc, count, desc, list, listPage, singleResult, unlimitedList
ExecutionQuery processDefinitionKey(String processDefinitionKey)
ExecutionQuery processDefinitionId(String processDefinitionId)
ExecutionQuery processInstanceId(String processInstanceId)
ExecutionQuery processInstanceBusinessKey(String processInstanceBusinessKey)
ExecutionQuery executionId(String executionId)
ExecutionQuery activityId(String activityId)
ExecutionQuery matchVariableNamesIgnoreCase()
ExecutionQuery matchVariableValuesIgnoreCase()
ExecutionQuery variableValueEquals(String name, Object value)
ProcessEngineConfiguration#getVariableSerializers()
.
Byte-arrays and Serializable
objects (which are not primitive type wrappers)
are not supported.name
- name of the variable, cannot be null.ExecutionQuery variableValueNotEquals(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- name of the variable, cannot be null.ExecutionQuery 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.ExecutionQuery 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.ExecutionQuery 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.ExecutionQuery 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.ExecutionQuery 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%).ExecutionQuery processVariableValueEquals(String variableName, Object variableValue)
ExecutionQuery processVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.@Deprecated ExecutionQuery signalEventSubscription(String signalName)
signalEventSubscriptionName(String)
ExecutionQuery signalEventSubscriptionName(String signalName)
signalName
- the name of the signal the execution has subscribed toExecutionQuery messageEventSubscriptionName(String messageName)
messageName
- the name of the message the execution has subscribed toExecutionQuery messageEventSubscription()
messageEventSubscriptionName(String)
to filter for executions
with message event subscriptions with a certain name.ExecutionQuery suspended()
ExecutionQuery active()
ExecutionQuery incidentType(String incidentType)
ExecutionQuery incidentId(String incidentId)
ExecutionQuery incidentMessage(String incidentMessage)
ExecutionQuery incidentMessageLike(String incidentMessageLike)
ExecutionQuery tenantIdIn(String... tenantIds)
ExecutionQuery withoutTenantId()
ExecutionQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).ExecutionQuery orderByProcessDefinitionKey()
Query.asc()
or Query.desc()
).ExecutionQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).ExecutionQuery orderByTenantId()
Query.asc()
or Query.desc()
).
Note that the ordering of executions without tenant id is database-specific.Copyright © 2022. All rights reserved.