Uses of Interface
org.camunda.bpm.engine.history.HistoricCaseInstanceQuery
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
HistoryService
.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of HistoricCaseInstanceQuery in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionHistoryService.createHistoricCaseInstanceQuery()
Creates a new programmatic query to search forHistoricCaseInstance
s. -
Uses of HistoricCaseInstanceQuery in org.camunda.bpm.engine.history
Modifier and TypeMethodDescriptionHistoricCaseInstanceQuery.active()
Only select historic case instances which are activeHistoricCaseInstanceQuery.caseActivityIdIn
(String... caseActivityIds) Only selects historic case instances with historic case activity instances in at least one of the given case activity ids.HistoricCaseInstanceQuery.caseDefinitionId
(String caseDefinitionId) Only select historic case instances for the given case definitionHistoricCaseInstanceQuery.caseDefinitionKey
(String caseDefinitionKey) Only select historic case instances that are defined by a case definition with the given key.HistoricCaseInstanceQuery.caseDefinitionKeyNotIn
(List<String> caseDefinitionKeys) Only select historic case instances that don't have a case definition of which the key is present in the given listHistoricCaseInstanceQuery.caseDefinitionName
(String caseDefinitionName) Only select historic case instances that are defined by a case definition with the given name.HistoricCaseInstanceQuery.caseDefinitionNameLike
(String nameLike) Only select historic case instances that are defined by case definition which name is like the given value.HistoricCaseInstanceQuery.caseInstanceBusinessKey
(String caseInstanceBusinessKey) Only select historic case instances with the given business keyHistoricCaseInstanceQuery.caseInstanceBusinessKeyLike
(String caseInstanceBusinessKeyLike) Only select historic case instances which had a business key like the given value.HistoricCaseInstanceQuery.caseInstanceId
(String caseInstanceId) Only select historic case instances with the given case instance id.HistoricCaseInstanceQuery.caseInstanceIds
(Set<String> caseInstanceIds) Only select historic case instances whose id is in the given set of ids.HistoricCaseInstanceQuery.closed()
Only select historic case instances which are closedHistoricCaseInstanceQuery.closedAfter
(Date date) Only select historic case instances that were closed after the given date.HistoricCaseInstanceQuery.closedBefore
(Date date) Only select historic case instances that were closed before the given date.HistoricCaseInstanceQuery.completed()
Only select historic case instances which are completedHistoricCaseInstanceQuery.createdAfter
(Date date) Only select historic case instances that were created after the given date.HistoricCaseInstanceQuery.createdBefore
(Date date) Only select historic case instances that were created before the given date.Only select historic case instance that are created by the given user.HistoricCaseInstanceQuery.matchVariableNamesIgnoreCase()
The query will match the names of variables in a case-insensitive way.HistoricCaseInstanceQuery.matchVariableValuesIgnoreCase()
The query will match the values of variables in a case-insensitive way.HistoricCaseInstanceQuery.notClosed()
Only select historic case instance that are not yet closed.HistoricCaseInstanceQuery.orderByCaseDefinitionId()
Order by the case definition id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByCaseInstanceBusinessKey()
Order by the business key (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByCaseInstanceCloseTime()
Order by the close time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByCaseInstanceCreateTime()
Order by the create time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByCaseInstanceDuration()
Order by the duration of the case instance (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByCaseInstanceId()
Order by the case instance id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricCaseInstanceQuery.subCaseInstanceId
(String subCaseInstanceId) Only select historic case instances having a sub case instance with the given case instance id.HistoricCaseInstanceQuery.subProcessInstanceId
(String subProcessInstanceId) Only select historic case instances having a sub process instance with the given process instance id.HistoricCaseInstanceQuery.superCaseInstanceId
(String superCaseInstanceId) Only select historic case instances started by the given case instance.HistoricCaseInstanceQuery.superProcessInstanceId
(String superProcessInstanceId) Only select historic case instances started by the given process instance.HistoricCaseInstanceQuery.tenantIdIn
(String... tenantIds) Only select historic case instances with one of the given tenant ids.HistoricCaseInstanceQuery.terminated()
Only select historic case instances which are terminatedHistoricCaseInstanceQuery.variableValueEquals
(String name, Object value) Only select case instances which have a global variable with the given value.HistoricCaseInstanceQuery.variableValueGreaterThan
(String name, Object value) Only select case instances which had a global variable with the given name and a value greater than the given value when they where closed.HistoricCaseInstanceQuery.variableValueGreaterThanOrEqual
(String name, Object value) Only select case instances which have a global variable with the given name and a value greater or equal than the given value.HistoricCaseInstanceQuery.variableValueLessThan
(String name, Object value) Only select case instances which have a global variable with the given name and a value less than the given value.HistoricCaseInstanceQuery.variableValueLessThanOrEqual
(String name, Object value) Only select case instances which have a global variable with the given name and a value less or equal than the given value.HistoricCaseInstanceQuery.variableValueLike
(String name, String value) Only select case instances which have a global variable with the given name and a value like given value.HistoricCaseInstanceQuery.variableValueNotEquals
(String name, Object value) Only select case instances which have a global variable with the given name but a different value.HistoricCaseInstanceQuery.variableValueNotLike
(String name, String value) Only select case instances which have a global variable with the given name and not matching the given value.HistoricCaseInstanceQuery.withoutTenantId()
Only selects historic case instances which have no tenant id. -
Uses of HistoricCaseInstanceQuery in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionHistoricCaseInstanceQueryImpl.active()
HistoricCaseInstanceQueryImpl.caseActivityIdIn
(String... caseActivityIds) HistoricCaseInstanceQueryImpl.caseDefinitionKey
(String caseDefinitionKey) HistoricCaseInstanceQueryImpl.caseDefinitionKeyNotIn
(List<String> caseDefinitionKeys) HistoricCaseInstanceQueryImpl.caseDefinitionName
(String caseDefinitionName) HistoricCaseInstanceQueryImpl.caseDefinitionNameLike
(String nameLike) HistoricCaseInstanceQueryImpl.caseInstanceBusinessKey
(String businessKey) HistoricCaseInstanceQueryImpl.caseInstanceBusinessKeyLike
(String businessKeyLike) HistoricCaseInstanceQueryImpl.caseInstanceIds
(Set<String> caseInstanceIds) HistoricCaseInstanceQueryImpl.closed()
HistoricCaseInstanceQueryImpl.closedAfter
(Date date) HistoricCaseInstanceQueryImpl.closedBefore
(Date date) HistoricCaseInstanceQueryImpl.completed()
HistoricCaseInstanceQueryImpl.createdAfter
(Date date) HistoricCaseInstanceQueryImpl.createdBefore
(Date date) HistoryServiceImpl.createHistoricCaseInstanceQuery()
HistoricCaseInstanceQueryImpl.failed()
HistoricCaseInstanceQueryImpl.notClosed()
HistoricCaseInstanceQueryImpl.orderByCaseDefinitionId()
HistoricCaseInstanceQueryImpl.orderByCaseInstanceBusinessKey()
HistoricCaseInstanceQueryImpl.orderByCaseInstanceCloseTime()
HistoricCaseInstanceQueryImpl.orderByCaseInstanceCreateTime()
HistoricCaseInstanceQueryImpl.orderByCaseInstanceDuration()
HistoricCaseInstanceQueryImpl.orderByCaseInstanceId()
HistoricCaseInstanceQueryImpl.orderByTenantId()
HistoricCaseInstanceQueryImpl.subCaseInstanceId
(String subCaseInstanceId) HistoricCaseInstanceQueryImpl.subProcessInstanceId
(String subProcessInstanceId) HistoricCaseInstanceQueryImpl.superCaseInstanceId
(String superCaseInstanceId) HistoricCaseInstanceQueryImpl.superProcessInstanceId
(String superProcessInstanceId) HistoricCaseInstanceQueryImpl.suspended()
HistoricCaseInstanceQueryImpl.tenantIdIn
(String... tenantIds) HistoricCaseInstanceQueryImpl.terminated()
HistoricCaseInstanceQueryImpl.withoutTenantId()
-
Uses of HistoricCaseInstanceQuery in org.camunda.bpm.engine.rest.dto.history
Modifier and TypeMethodDescriptionprotected HistoricCaseInstanceQuery
HistoricCaseInstanceQueryDto.createNewQuery
(ProcessEngine engine) Modifier and TypeMethodDescriptionprotected void
HistoricCaseInstanceQueryDto.applyFilters
(HistoricCaseInstanceQuery query) protected void
HistoricCaseInstanceQueryDto.applySortBy
(HistoricCaseInstanceQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine)