Uses of Interface
org.camunda.bpm.engine.runtime.ExecutionQuery
Package
Description
Public API of the Camunda Platform 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
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s and the relations between themManagementService
:
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService
:
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.camunda.bpm.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.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionExecutionQueryImpl.active()
RuntimeServiceImpl.createExecutionQuery()
ExecutionQueryImpl.eventSubscription
(EventType eventType, String eventName) ExecutionQueryImpl.incidentId
(String incidentId) ExecutionQueryImpl.incidentMessage
(String incidentMessage) ExecutionQueryImpl.incidentMessageLike
(String incidentMessageLike) ExecutionQueryImpl.incidentType
(String incidentType) ExecutionQueryImpl.messageEventSubscription()
ExecutionQueryImpl.messageEventSubscriptionName
(String messageName) ExecutionQueryImpl.orderByTenantId()
ExecutionQueryImpl.processInstanceBusinessKey
(String businessKey) ExecutionQueryImpl.processVariableValueEquals
(String variableName, Object variableValue) ExecutionQueryImpl.processVariableValueNotEquals
(String variableName, Object variableValue) ExecutionQueryImpl.signalEventSubscription
(String signalName) ExecutionQueryImpl.signalEventSubscriptionName
(String signalName) ExecutionQueryImpl.suspended()
ExecutionQueryImpl.tenantIdIn
(String... tenantIds) ExecutionQueryImpl.withoutTenantId()
-
Uses of ExecutionQuery in org.camunda.bpm.engine.rest.dto.runtime
Modifier and TypeMethodDescriptionprotected ExecutionQuery
ExecutionQueryDto.createNewQuery
(ProcessEngine engine) Modifier and TypeMethodDescriptionprotected void
ExecutionQueryDto.applyFilters
(ExecutionQuery query) protected void
ExecutionQueryDto.applySortBy
(ExecutionQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine) -
Uses of ExecutionQuery in org.camunda.bpm.engine.runtime
Modifier and TypeMethodDescriptionExecutionQuery.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 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()
).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 keyExecutionQuery.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. -
Uses of ExecutionQuery in org.camunda.bpm.engine.test.assertions.bpmn
Modifier and TypeMethodDescriptionprotected ExecutionQuery
AbstractProcessAssert.executionQuery()
static ExecutionQuery
BpmnAwareTests.executionQuery()
Helper method to easily create a new ExecutionQueryprotected ExecutionQuery
JobAssert.executionQuery()
protected ExecutionQuery
ProcessInstanceAssert.executionQuery()
-
Uses of ExecutionQuery in org.camunda.bpm.qa.upgrade