Uses of Interface
org.camunda.bpm.engine.runtime.CaseExecutionQuery
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.Classes related to the
RuntimeService
.-
Uses of CaseExecutionQuery in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionCaseService.createCaseExecutionQuery()
Creates a newCaseExecutionQuery
instance, that can be used to query the executions and case instances. -
Uses of CaseExecutionQuery in org.camunda.bpm.engine.impl.cmmn
-
Uses of CaseExecutionQuery in org.camunda.bpm.engine.impl.cmmn.entity.runtime
Modifier and TypeMethodDescriptionCaseExecutionQueryImpl.active()
CaseExecutionQueryImpl.activityId
(String activityId) CaseExecutionQueryImpl.available()
CaseExecutionQueryImpl.caseDefinitionId
(String caseDefinitionId) CaseExecutionQueryImpl.caseDefinitionKey
(String caseDefinitionKey) CaseExecutionQueryImpl.caseExecutionId
(String caseExecutionId) CaseExecutionQueryImpl.caseInstanceBusinessKey
(String caseInstanceBusinessKey) CaseExecutionQueryImpl.caseInstanceId
(String caseInstanceId) CaseExecutionQueryImpl.caseInstanceVariableValueEquals
(String name, Object value) CaseExecutionQueryImpl.caseInstanceVariableValueGreaterThan
(String name, Object value) CaseExecutionQueryImpl.caseInstanceVariableValueGreaterThanOrEqual
(String name, Object value) CaseExecutionQueryImpl.caseInstanceVariableValueLessThan
(String name, Object value) CaseExecutionQueryImpl.caseInstanceVariableValueLessThanOrEqual
(String name, Object value) CaseExecutionQueryImpl.caseInstanceVariableValueLike
(String name, String value) CaseExecutionQueryImpl.caseInstanceVariableValueNotEquals
(String name, Object value) CaseExecutionQueryImpl.disabled()
CaseExecutionQueryImpl.enabled()
CaseExecutionQueryImpl.orderByCaseDefinitionId()
CaseExecutionQueryImpl.orderByCaseDefinitionKey()
CaseExecutionQueryImpl.orderByCaseExecutionId()
CaseExecutionQueryImpl.orderByTenantId()
CaseExecutionQueryImpl.required()
CaseExecutionQueryImpl.tenantIdIn
(String... tenantIds) CaseExecutionQueryImpl.withoutTenantId()
-
Uses of CaseExecutionQuery in org.camunda.bpm.engine.rest.dto.runtime
Modifier and TypeMethodDescriptionprotected CaseExecutionQuery
CaseExecutionQueryDto.createNewQuery
(ProcessEngine engine) Modifier and TypeMethodDescriptionprotected void
CaseExecutionQueryDto.applyFilters
(CaseExecutionQuery query) protected void
CaseExecutionQueryDto.applySortBy
(CaseExecutionQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine) -
Uses of CaseExecutionQuery in org.camunda.bpm.engine.runtime
Modifier and TypeMethodDescriptionCaseExecutionQuery.active()
Only select case executions which are active.CaseExecutionQuery.activityId
(String activityId) Only select case executions which contain an activity with the given id.CaseExecutionQuery.available()
Only select case executions which are available.CaseExecutionQuery.caseDefinitionId
(String caseDefinitionId) Only select case executions which have the given case definition id.CaseExecutionQuery.caseDefinitionKey
(String caseDefinitionKey) Only select case executions which have the given case definition key.CaseExecutionQuery.caseExecutionId
(String executionId) Only select case executions with the given id.CaseExecutionQuery.caseInstanceBusinessKey
(String caseInstanceBusinessKey) Only select case executions that belong to a case instance with the given business keyCaseExecutionQuery.caseInstanceId
(String caseInstanceId) Only select case executions which have the given case instance id.CaseExecutionQuery.caseInstanceVariableValueEquals
(String name, Object value) Only select case executions which are part of a case instance that have a variable with the given name set to the given value.CaseExecutionQuery.caseInstanceVariableValueGreaterThan
(String name, Object value) Only select case executions which are part of a case instance that have a variable with the given name and a variable value greater than the passed value.CaseExecutionQuery.caseInstanceVariableValueGreaterThanOrEqual
(String name, Object value) Only select case executions which are part of a case instance that have a variable value greater than or equal to the passed value.CaseExecutionQuery.caseInstanceVariableValueLessThan
(String name, Object value) Only select case executions which are part of a case instance that have a variable value less than the passed value.CaseExecutionQuery.caseInstanceVariableValueLessThanOrEqual
(String name, Object value) Only select case executions which are part of a case instance that have a variable value less than or equal to the passed value.CaseExecutionQuery.caseInstanceVariableValueLike
(String name, String value) Only select case executions which are part of a case instance that have a variable value like the given value.CaseExecutionQuery.caseInstanceVariableValueNotEquals
(String name, Object value) Only select case executions which are part of a case instance that have a variable with the given name, but with a different value than the passed value.CaseExecutionQuery.disabled()
Only select case executions which are disabled.CaseExecutionQuery.enabled()
Only select case executions which are enabled.CaseExecutionQuery.matchVariableNamesIgnoreCase()
The query will match the names of variables in a case-insensitive way.CaseExecutionQuery.matchVariableValuesIgnoreCase()
The query will match the values of variables in a case-insensitive way.CaseExecutionQuery.orderByCaseDefinitionId()
Order by case definition id (needs to be followed byQuery.asc()
orQuery.desc()
).CaseExecutionQuery.orderByCaseDefinitionKey()
Order by case definition key (needs to be followed byQuery.asc()
orQuery.desc()
).CaseExecutionQuery.orderByCaseExecutionId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).CaseExecutionQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).CaseExecutionQuery.required()
Only select case executions which are required.CaseExecutionQuery.tenantIdIn
(String... tenantIds) Only select case execution with one of the given tenant ids.CaseExecutionQuery.variableValueEquals
(String name, Object value) Only select case executions which have a local variable with the given value.CaseExecutionQuery.variableValueGreaterThan
(String name, Object value) Only select case executions which have a variable value greater than the passed value.CaseExecutionQuery.variableValueGreaterThanOrEqual
(String name, Object value) Only select case executions which have a local variable value greater than or equal to the passed value.CaseExecutionQuery.variableValueLessThan
(String name, Object value) Only select case executions which have a local variable value less than the passed value.CaseExecutionQuery.variableValueLessThanOrEqual
(String name, Object value) Only select case executions which have a local variable value less than or equal to the passed value.CaseExecutionQuery.variableValueLike
(String name, String value) Only select case executions which have a local variable value like the given value.CaseExecutionQuery.variableValueNotEquals
(String name, Object value) Only select case executions which have a local variable with the given name, but with a different value than the passed value.CaseExecutionQuery.withoutTenantId()
Only select case executions which have no tenant id. -
Uses of CaseExecutionQuery in org.camunda.bpm.engine.test.assertions.bpmn
Modifier and TypeMethodDescriptionprotected CaseExecutionQuery
AbstractProcessAssert.caseExecutionQuery()
-
Uses of CaseExecutionQuery in org.camunda.bpm.engine.test.assertions.cmmn
Modifier and TypeMethodDescriptionprotected CaseExecutionQuery
AbstractCaseAssert.caseExecutionQuery()
CaseExecutionQuery, automatically narrowed toCaseInstance
of actualCaseExecution
static CaseExecutionQuery
CmmnAwareTests.caseExecutionQuery()
Helper method to easily create a new CaseExecutionQuery.Modifier and TypeMethodDescriptionprotected CaseExecutionAssert
AbstractCaseAssert.caseExecution
(CaseExecutionQuery query) Retrieve a childCaseExecution
currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.static CaseExecution
CmmnAwareTests.caseExecution
(CaseExecutionQuery caseExecutionQuery, CaseInstance caseInstance) Helper method to find anyCaseExecution
in the context of a CaseInstanceprotected CaseTaskAssert
AbstractCaseAssert.caseTask
(CaseExecutionQuery query) Enter into a chainedCaseTaskAssert
inspecting the one and mostly one 'caseTask' currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.CaseInstanceAssert.caseTask
(CaseExecutionQuery query) StageAssert.caseTask
(CaseExecutionQuery query) protected CaseExecutionAssert
AbstractCaseAssert.descendantCaseExecution
(CaseExecutionQuery query) Retrieve any descendantCaseExecution
currently available in the context of the actual caseInstance under test of this AbstractCaseAssert.protected HumanTaskAssert
AbstractCaseAssert.humanTask
(CaseExecutionQuery query) Enter into a chainedHumanTaskAssert
inspecting the one and mostly one 'humanTask' currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.CaseInstanceAssert.humanTask
(CaseExecutionQuery query) StageAssert.humanTask
(CaseExecutionQuery query) protected MilestoneAssert
AbstractCaseAssert.milestone
(CaseExecutionQuery query) Enter into a chainedMilestoneAssert
inspecting the one and mostly one 'milestone' currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.CaseInstanceAssert.milestone
(CaseExecutionQuery query) StageAssert.milestone
(CaseExecutionQuery query) protected ProcessTaskAssert
AbstractCaseAssert.processTask
(CaseExecutionQuery query) Enter into a chainedProcessTaskAssert
inspecting the one and mostly one 'processTask' currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.CaseInstanceAssert.processTask
(CaseExecutionQuery query) StageAssert.processTask
(CaseExecutionQuery query) protected StageAssert
AbstractCaseAssert.stage
(CaseExecutionQuery query) Enter into a chainedStageAssert
inspecting the one and mostly one 'stage' currently available in the context of the actual caseExecution under test of this AbstractCaseAssert.CaseInstanceAssert.stage
(CaseExecutionQuery query) StageAssert.stage
(CaseExecutionQuery query) -
Uses of CaseExecutionQuery in org.camunda.bpm.qa.upgrade