Uses of Interface
org.camunda.bpm.engine.history.HistoricTaskInstanceQuery
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 HistoricTaskInstanceQuery in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionHistoryService.createHistoricTaskInstanceQuery()
Creates a new programmatic query to search forHistoricTaskInstance
s. -
Uses of HistoricTaskInstanceQuery in org.camunda.bpm.engine.history
Modifier and TypeMethodDescriptionHistoricTaskInstanceQuery.activityInstanceIdIn
(String... activityInstanceIds) Only select historic task instances which have one of the given activity instance ids.HistoricTaskInstanceQuery.caseDefinitionId
(String caseDefinitionId) Only select historic task instances for the given case definition.HistoricTaskInstanceQuery.caseDefinitionKey
(String caseDefinitionKey) Only select historic task instances which are part of a case instance which has the given case definition key.HistoricTaskInstanceQuery.caseDefinitionName
(String caseDefinitionName) Only select historic task instances which are part of a (historic) case instance which has the given case definition name.HistoricTaskInstanceQuery.caseExecutionId
(String caseExecutionId) Only select historic task instances for the given case execution id.HistoricTaskInstanceQuery.caseInstanceId
(String caseInstanceId) Only select historic task instances for the given case instance.HistoricTaskInstanceQuery.endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.HistoricTaskInstanceQuery.executionId
(String executionId) Only select historic task instances for the given execution.HistoricTaskInstanceQuery.finished()
Only select historic task instances which are finished.HistoricTaskInstanceQuery.finishedAfter
(Date date) Only select tasks where end time is after given dateHistoricTaskInstanceQuery.finishedBefore
(Date date) Only select tasks where end time is before given dateHistoricTaskInstanceQuery.matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.HistoricTaskInstanceQuery.matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.HistoricTaskInstanceQuery.or()
After calling or(), a chain of several filter criteria could follow.HistoricTaskInstanceQuery.orderByCaseDefinitionId()
Order by case definition id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByCaseExecutionId()
Order by case execution id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByCaseInstanceId()
Order by case instance id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByDeleteReason()
Order by task delete reason (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByHistoricActivityInstanceStartTime()
Order by start time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByProcessDefinitionId()
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskAssignee()
Order by task assignee (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskDefinitionKey()
Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskDescription()
Order by task description (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskDueDate()
Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskFollowUpDate()
Order by task follow-up date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskId()
Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskName()
Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskOwner()
Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTaskPriority()
Order by task priority key (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery.processDefinitionId
(String processDefinitionId) Only select historic task instances for the given process definition.HistoricTaskInstanceQuery.processDefinitionKey
(String processDefinitionKey) Only select historic task instances which are part of a (historic) process instance which has the given process definition key.HistoricTaskInstanceQuery.processDefinitionName
(String processDefinitionName) Only select historic task instances which are part of a (historic) process instance which has the given definition name.HistoricTaskInstanceQuery.processFinished()
Only select historic task instances which are part of a process instance which is already finished.HistoricTaskInstanceQuery.processInstanceBusinessKey
(String processInstanceBusinessKey) Only select historic tasks for the given process instance business keyHistoricTaskInstanceQuery.processInstanceBusinessKeyIn
(String... processInstanceBusinessKeys) Only select historic tasks for any of the given the given process instance business keys.HistoricTaskInstanceQuery.processInstanceBusinessKeyLike
(String processInstanceBusinessKey) Only select historic tasks matching the given process instance business key.HistoricTaskInstanceQuery.processInstanceId
(String processInstanceId) Only select historic task instances for the given process instance.HistoricTaskInstanceQuery.processUnfinished()
Only select historic task instances which are part of a process instance which is not finished yet.HistoricTaskInstanceQuery.processVariableValueEquals
(String variableName, Object variableValue) Only select historic task instances which are part of a process instance which have a variable with the given name set to the given value.HistoricTaskInstanceQuery.processVariableValueGreaterThan
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and a value greater than the given one.HistoricTaskInstanceQuery.processVariableValueGreaterThanOrEquals
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and a value greater than or equal to the given one.HistoricTaskInstanceQuery.processVariableValueLessThan
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and a value less than the given one.HistoricTaskInstanceQuery.processVariableValueLessThanOrEquals
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and a value less than or equal to the given one.HistoricTaskInstanceQuery.processVariableValueLike
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and matching the given value.HistoricTaskInstanceQuery.processVariableValueNotEquals
(String variableName, Object variableValue) Only select historic task instances which have a variable with the given name, but with a different value than the passed value.HistoricTaskInstanceQuery.processVariableValueNotLike
(String variableName, Object variableValue) Only select historic task instances which are part of a process that have a variable with the given name and not matching the given value.HistoricTaskInstanceQuery.rootProcessInstanceId
(String rootProcessInstanceId) Only select historic task instances for the given root process instance.HistoricTaskInstanceQuery.startedAfter
(Date date) Only select tasks where started after given dateHistoricTaskInstanceQuery.startedBefore
(Date date) Only select tasks where started before given dateHistoricTaskInstanceQuery.taskAssigned()
Only select historic task instances with an assignee.HistoricTaskInstanceQuery.taskAssignee
(String taskAssignee) Only select historic task instances which were last taskAssigned to the given assignee.HistoricTaskInstanceQuery.taskAssigneeLike
(String taskAssigneeLike) Only select historic task instances which were last taskAssigned to an assignee like the given value.HistoricTaskInstanceQuery.taskDefinitionKey
(String taskDefinitionKey) Only select historic task instances with the given task definition key.HistoricTaskInstanceQuery.taskDefinitionKeyIn
(String... taskDefinitionKeys) Only select historic task instances with one of the given task definition keys.HistoricTaskInstanceQuery.taskDeleteReason
(String taskDeleteReason) Only select historic task instances with the given task delete reason.HistoricTaskInstanceQuery.taskDeleteReasonLike
(String taskDeleteReasonLike) Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuery.taskDescription
(String taskDescription) Only select historic task instances with the given task description.HistoricTaskInstanceQuery.taskDescriptionLike
(String taskDescriptionLike) Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuery.taskDueAfter
(Date dueDate) Only select select historic task instances which have a due date after the given date.HistoricTaskInstanceQuery.taskDueBefore
(Date dueDate) Only select select historic task instances which have a due date before the given date.HistoricTaskInstanceQuery.taskDueDate
(Date dueDate) Only select select historic task instances with the given due date.HistoricTaskInstanceQuery.taskFollowUpAfter
(Date followUpDate) Only select select historic task instances which have a follow-up date after the given date.HistoricTaskInstanceQuery.taskFollowUpBefore
(Date followUpDate) Only select select historic task instances which have a follow-up date before the given date.HistoricTaskInstanceQuery.taskFollowUpDate
(Date followUpDate) Only select select historic task instances with the given follow-up date.HistoricTaskInstanceQuery.taskHadCandidateGroup
(String candidateGroup) Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidateHistoricTaskInstanceQuery.taskHadCandidateUser
(String candidateUser) Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidateOnly select historic task instances for the given task id.HistoricTaskInstanceQuery.taskInvolvedGroup
(String involvedGroup) Only select historic task instances which have mapping with Historic identity links based on group idHistoricTaskInstanceQuery.taskInvolvedUser
(String involvedUser) Only select historic task instances which have mapping with Historic identity links based on user idOnly select historic task instances with the given task name.HistoricTaskInstanceQuery.taskNameLike
(String taskNameLike) Only select historic task instances with a task name like the given value.Only select historic task instances which have the given owner.HistoricTaskInstanceQuery.taskOwnerLike
(String taskOwnerLike) Only select historic task instances which have an owner like the one specified.HistoricTaskInstanceQuery.taskParentTaskId
(String parentTaskId) Only select subtasks of the given parent taskHistoricTaskInstanceQuery.taskPriority
(Integer taskPriority) Only select historic task instances with the given priority.HistoricTaskInstanceQuery.taskUnassigned()
Only select historic task instances without an assignee.HistoricTaskInstanceQuery.taskVariableValueEquals
(String variableName, Object variableValue) Only select historic task instances which have a local task variable with the given name set to the given value.HistoricTaskInstanceQuery.tenantIdIn
(String... tenantIds) Only select historic task instances with one of the given tenant ids.HistoricTaskInstanceQuery.unfinished()
Only select historic task instances which aren't finished yet.HistoricTaskInstanceQuery.withCandidateGroups()
Only select historic task instances which have a candidate groupHistoricTaskInstanceQuery.withoutCandidateGroups()
Only select historic task instances which have no candidate groupHistoricTaskInstanceQuery.withoutTaskDueDate()
Only select select historic task instances that have no due date.HistoricTaskInstanceQuery.withoutTenantId()
Only selects historic task instances that have no tenant id. -
Uses of HistoricTaskInstanceQuery in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionHistoricTaskInstanceQueryImpl.activityInstanceIdIn
(String... activityInstanceIds) HistoricTaskInstanceQueryImpl.caseDefinitionId
(String caseDefinitionId) HistoricTaskInstanceQueryImpl.caseDefinitionKey
(String caseDefinitionKey) HistoricTaskInstanceQueryImpl.caseDefinitionName
(String caseDefinitionName) HistoricTaskInstanceQueryImpl.caseExecutionId
(String caseExecutionId) HistoricTaskInstanceQueryImpl.caseInstanceId
(String caseInstanceId) HistoryServiceImpl.createHistoricTaskInstanceQuery()
HistoricTaskInstanceQueryImpl.endOr()
HistoricTaskInstanceQueryImpl.finishedAfter
(Date date) HistoricTaskInstanceQueryImpl.finishedBefore
(Date date) HistoricTaskInstanceQueryImpl.matchVariableNamesIgnoreCase()
HistoricTaskInstanceQueryImpl.matchVariableValuesIgnoreCase()
HistoricTaskInstanceQueryImpl.or()
HistoricTaskInstanceQueryImpl.orderByCaseDefinitionId()
HistoricTaskInstanceQueryImpl.orderByCaseExecutionId()
HistoricTaskInstanceQueryImpl.orderByCaseInstanceId()
HistoricTaskInstanceQueryImpl.orderByTaskAssignee()
HistoricTaskInstanceQueryImpl.orderByTaskDefinitionKey()
HistoricTaskInstanceQueryImpl.orderByTaskDueDate()
HistoricTaskInstanceQueryImpl.orderByTaskFollowUpDate()
HistoricTaskInstanceQueryImpl.orderByTaskOwner()
HistoricTaskInstanceQueryImpl.orderByTaskPriority()
HistoricTaskInstanceQueryImpl.orderByTenantId()
HistoricTaskInstanceQueryImpl.processDefinitionKey
(String processDefinitionKey) HistoricTaskInstanceQueryImpl.processDefinitionName
(String processDefinitionName) HistoricTaskInstanceQueryImpl.processFinished()
HistoricTaskInstanceQueryImpl.processInstanceBusinessKey
(String processInstanceBusinessKey) HistoricTaskInstanceQueryImpl.processInstanceBusinessKeyIn
(String... processInstanceBusinessKeys) HistoricTaskInstanceQueryImpl.processInstanceBusinessKeyLike
(String processInstanceBusinessKey) HistoricTaskInstanceQueryImpl.processUnfinished()
HistoricTaskInstanceQueryImpl.processVariableValueEquals
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueGreaterThan
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueGreaterThanOrEquals
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueLessThan
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueLessThanOrEquals
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueLike
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueNotEquals
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.processVariableValueNotLike
(String variableName, Object variableValue) HistoricTaskInstanceQueryImpl.startedAfter
(Date date) HistoricTaskInstanceQueryImpl.startedBefore
(Date date) HistoricTaskInstanceQueryImpl.taskDefinitionKey
(String taskDefinitionKey) HistoricTaskInstanceQueryImpl.taskDefinitionKeyIn
(String... taskDefinitionKeys) HistoricTaskInstanceQueryImpl.taskDueAfter
(Date dueAfter) HistoricTaskInstanceQueryImpl.taskDueBefore
(Date dueBefore) HistoricTaskInstanceQueryImpl.taskDueDate
(Date dueDate) HistoricTaskInstanceQueryImpl.taskFollowUpAfter
(Date followUpAfter) HistoricTaskInstanceQueryImpl.taskFollowUpBefore
(Date followUpBefore) HistoricTaskInstanceQueryImpl.taskFollowUpDate
(Date followUpDate) HistoricTaskInstanceQueryImpl.taskHadCandidateGroup
(String groupId) HistoricTaskInstanceQueryImpl.taskHadCandidateUser
(String userId) HistoricTaskInstanceQueryImpl.taskInvolvedGroup
(String groupId) HistoricTaskInstanceQueryImpl.taskInvolvedUser
(String userId) HistoricTaskInstanceQueryImpl.taskParentTaskId
(String parentTaskId) HistoricTaskInstanceQueryImpl.taskPriority
(Integer taskPriority) HistoricTaskInstanceQueryImpl.tenantIdIn
(String... tenantIds) HistoricTaskInstanceQueryImpl.withCandidateGroups()
HistoricTaskInstanceQueryImpl.withoutCandidateGroups()
HistoricTaskInstanceQueryImpl.withoutTaskDueDate()
HistoricTaskInstanceQueryImpl.withoutTenantId()
-
Uses of HistoricTaskInstanceQuery in org.camunda.bpm.engine.rest.dto.history
Modifier and TypeMethodDescriptionprotected HistoricTaskInstanceQuery
HistoricTaskInstanceQueryDto.createNewQuery
(ProcessEngine engine) Modifier and TypeMethodDescriptionprotected void
HistoricTaskInstanceQueryDto.applyFilters
(HistoricTaskInstanceQuery query) protected void
HistoricTaskInstanceQueryDto.applySortBy
(HistoricTaskInstanceQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine)