Uses of Interface
org.camunda.bpm.engine.history.HistoricActivityInstanceQuery
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 HistoricActivityInstanceQuery in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionHistoryService.createHistoricActivityInstanceQuery()
Creates a new programmatic query to search forHistoricActivityInstance
s. -
Uses of HistoricActivityInstanceQuery in org.camunda.bpm.engine.history
Modifier and TypeMethodDescriptionHistoricActivityInstanceQuery.activityId
(String activityId) Only select historic activity instances for the given activity (id from BPMN 2.0 XML)HistoricActivityInstanceQuery.activityInstanceId
(String activityInstanceId) Only select historic activity instances with the given id (primary key within history tables).HistoricActivityInstanceQuery.activityName
(String activityName) Only select historic activity instances for activities with the given nameHistoricActivityInstanceQuery.activityNameLike
(String activityNameLike) Only select historic activity instances for activities which activityName is like the given value.HistoricActivityInstanceQuery.activityType
(String activityType) Only select historic activity instances for activities with the given activity typeHistoricActivityInstanceQuery.canceled()
Only select historic activity instances that got canceledHistoricActivityInstanceQuery.completeScope()
Only select historic activity instances that complete a BPMN scopeHistoricActivityInstanceQuery.executionId
(String executionId) Only select historic activity instances for the given executionHistoricActivityInstanceQuery.finished()
Only select historic activity instances that are finished.HistoricActivityInstanceQuery.finishedAfter
(Date date) Only select historic activity instances that were started after the given date.HistoricActivityInstanceQuery.finishedBefore
(Date date) Only select historic activity instances that were started before the given date.HistoricActivityInstanceQuery.orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByActivityName()
Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByActivityType()
Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByHistoricActivityInstanceDuration()
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByHistoricActivityInstanceEndTime()
Order by end (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByHistoricActivityInstanceId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByHistoricActivityInstanceStartTime()
Order by start (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityInstanceQuery.orderPartiallyByOccurrence()
Sort theactivity instances
in the order in which they occurred (ie.HistoricActivityInstanceQuery.processDefinitionId
(String processDefinitionId) Only select historic activity instances for the given process definitionHistoricActivityInstanceQuery.processInstanceId
(String processInstanceId) Only select historic activity instances with the given process instance.HistoricActivityInstanceQuery.startedAfter
(Date date) Only select historic activity instances that were started after the given date.HistoricActivityInstanceQuery.startedBefore
(Date date) Only select historic activity instances that were started before the given date.HistoricActivityInstanceQuery.taskAssignee
(String userId) Only select historic activity instances for userTask activities assigned to the given userHistoricActivityInstanceQuery.tenantIdIn
(String... tenantIds) Only select historic activity instances with one of the given tenant ids.HistoricActivityInstanceQuery.unfinished()
Only select historic activity instances that are not finished yet.HistoricActivityInstanceQuery.withoutTenantId()
Only selects historic activity instances that have no tenant id. -
Uses of HistoricActivityInstanceQuery in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionHistoryServiceImpl.createHistoricActivityInstanceQuery()
HistoricActivityInstanceQueryImpl.orderByActivityId()
HistoricActivityInstanceQueryImpl.orderByTenantId()
HistoricActivityInstanceQueryImpl.orderPartiallyByOccurrence()
HistoricActivityInstanceQueryImpl.tenantIdIn
(String... tenantIds) HistoricActivityInstanceQueryImpl.withoutTenantId()
-
Uses of HistoricActivityInstanceQuery in org.camunda.bpm.engine.rest.dto.history
Modifier and TypeMethodDescriptionprotected HistoricActivityInstanceQuery
HistoricActivityInstanceQueryDto.createNewQuery
(ProcessEngine engine) Modifier and TypeMethodDescriptionprotected void
HistoricActivityInstanceQueryDto.applyFilters
(HistoricActivityInstanceQuery query) protected void
HistoricActivityInstanceQueryDto.applySortBy
(HistoricActivityInstanceQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine) -
Uses of HistoricActivityInstanceQuery in org.camunda.bpm.engine.test.assertions.bpmn
Modifier and TypeMethodDescriptionprotected HistoricActivityInstanceQuery
AbstractProcessAssert.historicActivityInstanceQuery()
protected HistoricActivityInstanceQuery
ProcessInstanceAssert.historicActivityInstanceQuery()