Package org.camunda.bpm.engine.history
Interface HistoricTaskInstanceQuery
-
- All Superinterfaces:
Query<HistoricTaskInstanceQuery,HistoricTaskInstance>
- All Known Implementing Classes:
HistoricTaskInstanceQueryImpl
public interface HistoricTaskInstanceQuery extends Query<HistoricTaskInstanceQuery,HistoricTaskInstance>
Allows programmatic querying forHistoricTaskInstances.- Author:
- Tom Baeyens
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricTaskInstanceQueryactivityInstanceIdIn(java.lang.String... activityInstanceIds)Only select historic task instances which have one of the given activity instance ids.HistoricTaskInstanceQuerycaseDefinitionId(java.lang.String caseDefinitionId)Only select historic task instances for the given case definition.HistoricTaskInstanceQuerycaseDefinitionKey(java.lang.String caseDefinitionKey)Only select historic task instances which are part of a case instance which has the given case definition key.HistoricTaskInstanceQuerycaseDefinitionName(java.lang.String caseDefinitionName)Only select historic task instances which are part of a (historic) case instance which has the given case definition name.HistoricTaskInstanceQuerycaseExecutionId(java.lang.String caseExecutionId)Only select historic task instances for the given case execution id.HistoricTaskInstanceQuerycaseInstanceId(java.lang.String caseInstanceId)Only select historic task instances for the given case instance.HistoricTaskInstanceQueryendOr()endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.HistoricTaskInstanceQueryexecutionId(java.lang.String executionId)Only select historic task instances for the given execution.HistoricTaskInstanceQueryfinished()Only select historic task instances which are finished.HistoricTaskInstanceQueryfinishedAfter(java.util.Date date)Only select tasks where end time is after given dateHistoricTaskInstanceQueryfinishedBefore(java.util.Date date)Only select tasks where end time is before given dateHistoricTaskInstanceQuerymatchVariableNamesIgnoreCase()The query will match the names of task and process variables in a case-insensitive way.HistoricTaskInstanceQuerymatchVariableValuesIgnoreCase()The query will match the values of task and process variables in a case-insensitive way.HistoricTaskInstanceQueryor()After calling or(), a chain of several filter criteria could follow.HistoricTaskInstanceQueryorderByCaseDefinitionId()Order by case definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByCaseExecutionId()Order by case execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByCaseInstanceId()Order by case instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByDeleteReason()Order by task delete reason (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByHistoricActivityInstanceId()Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByHistoricActivityInstanceStartTime()Order by start time (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByHistoricTaskInstanceDuration()Order by duration (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByHistoricTaskInstanceEndTime()Order by end time (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskAssignee()Order by task assignee (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskDefinitionKey()Order by task definition key (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskDescription()Order by task description (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskDueDate()Order by task due date (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskFollowUpDate()Order by task follow-up date (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskId()Order by task id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskName()Order by task name (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskOwner()Order by task owner (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskPriority()Order by task priority key (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select historic task instances for the given process definition.HistoricTaskInstanceQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic task instances which are part of a (historic) process instance which has the given process definition key.HistoricTaskInstanceQueryprocessDefinitionName(java.lang.String processDefinitionName)Only select historic task instances which are part of a (historic) process instance which has the given definition name.HistoricTaskInstanceQueryprocessFinished()Only select historic task instances which are part of a process instance which is already finished.HistoricTaskInstanceQueryprocessInstanceBusinessKey(java.lang.String processInstanceBusinessKey)Only select historic tasks for the given process instance business keyHistoricTaskInstanceQueryprocessInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)Only select historic tasks for any of the given the given process instance business keys.HistoricTaskInstanceQueryprocessInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)Only select historic tasks matching the given process instance business key.HistoricTaskInstanceQueryprocessInstanceId(java.lang.String processInstanceId)Only select historic task instances for the given process instance.HistoricTaskInstanceQueryprocessUnfinished()Only select historic task instances which are part of a process instance which is not finished yet.HistoricTaskInstanceQueryprocessVariableValueEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueGreaterThan(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueGreaterThanOrEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLessThan(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLessThanOrEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLike(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)Only select historic task instances which have a variable with the given name, but with a different value than the passed value.HistoricTaskInstanceQueryprocessVariableValueNotLike(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQuerystartedAfter(java.util.Date date)Only select tasks where started after given dateHistoricTaskInstanceQuerystartedBefore(java.util.Date date)Only select tasks where started before given dateHistoricTaskInstanceQuerytaskAssigned()Only select historic task instances with an assignee.HistoricTaskInstanceQuerytaskAssignee(java.lang.String taskAssignee)Only select historic task instances which were last taskAssigned to the given assignee.HistoricTaskInstanceQuerytaskAssigneeLike(java.lang.String taskAssigneeLike)Only select historic task instances which were last taskAssigned to an assignee like the given value.HistoricTaskInstanceQuerytaskDefinitionKey(java.lang.String taskDefinitionKey)Only select historic task instances with the given task definition key.HistoricTaskInstanceQuerytaskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)Only select historic task instances with one of the given task definition keys.HistoricTaskInstanceQuerytaskDeleteReason(java.lang.String taskDeleteReason)Only select historic task instances with the given task delete reason.HistoricTaskInstanceQuerytaskDeleteReasonLike(java.lang.String taskDeleteReasonLike)Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuerytaskDescription(java.lang.String taskDescription)Only select historic task instances with the given task description.HistoricTaskInstanceQuerytaskDescriptionLike(java.lang.String taskDescriptionLike)Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuerytaskDueAfter(java.util.Date dueDate)Only select select historic task instances which have a due date after the given date.HistoricTaskInstanceQuerytaskDueBefore(java.util.Date dueDate)Only select select historic task instances which have a due date before the given date.HistoricTaskInstanceQuerytaskDueDate(java.util.Date dueDate)Only select select historic task instances with the given due date.HistoricTaskInstanceQuerytaskFollowUpAfter(java.util.Date followUpDate)Only select select historic task instances which have a follow-up date after the given date.HistoricTaskInstanceQuerytaskFollowUpBefore(java.util.Date followUpDate)Only select select historic task instances which have a follow-up date before the given date.HistoricTaskInstanceQuerytaskFollowUpDate(java.util.Date followUpDate)Only select select historic task instances with the given follow-up date.HistoricTaskInstanceQuerytaskHadCandidateGroup(java.lang.String candidateGroup)Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidateHistoricTaskInstanceQuerytaskHadCandidateUser(java.lang.String candidateUser)Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidateHistoricTaskInstanceQuerytaskId(java.lang.String taskId)Only select historic task instances for the given task id.HistoricTaskInstanceQuerytaskInvolvedGroup(java.lang.String involvedGroup)Only select historic task instances which have mapping with Historic identity links based on group idHistoricTaskInstanceQuerytaskInvolvedUser(java.lang.String involvedUser)Only select historic task instances which have mapping with Historic identity links based on user idHistoricTaskInstanceQuerytaskName(java.lang.String taskName)Only select historic task instances with the given task name.HistoricTaskInstanceQuerytaskNameLike(java.lang.String taskNameLike)Only select historic task instances with a task name like the given value.HistoricTaskInstanceQuerytaskOwner(java.lang.String taskOwner)Only select historic task instances which have the given owner.HistoricTaskInstanceQuerytaskOwnerLike(java.lang.String taskOwnerLike)Only select historic task instances which have an owner like the one specified.HistoricTaskInstanceQuerytaskParentTaskId(java.lang.String parentTaskId)Only select subtasks of the given parent taskHistoricTaskInstanceQuerytaskPriority(java.lang.Integer taskPriority)Only select historic task instances with the given priority.HistoricTaskInstanceQuerytaskUnassigned()Only select historic task instances without an assignee.HistoricTaskInstanceQuerytaskVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)Only select historic task instances which have a local task variable with the given name set to the given value.HistoricTaskInstanceQuerytenantIdIn(java.lang.String... tenantIds)Only select historic task instances with one of the given tenant ids.HistoricTaskInstanceQueryunfinished()Only select historic task instances which aren't finished yet.HistoricTaskInstanceQuerywithCandidateGroups()Only select historic task instances which have a candidate groupHistoricTaskInstanceQuerywithoutCandidateGroups()Only select historic task instances which have no candidate groupHistoricTaskInstanceQuerywithoutTaskDueDate()Only select select historic task instances that have no due date.HistoricTaskInstanceQuerywithoutTenantId()Only selects historic task instances that have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
taskId
HistoricTaskInstanceQuery taskId(java.lang.String taskId)
Only select historic task instances for the given task id.
-
processInstanceId
HistoricTaskInstanceQuery processInstanceId(java.lang.String processInstanceId)
Only select historic task instances for the given process instance.
-
processInstanceBusinessKey
HistoricTaskInstanceQuery processInstanceBusinessKey(java.lang.String processInstanceBusinessKey)
Only select historic tasks for the given process instance business key
-
processInstanceBusinessKeyIn
HistoricTaskInstanceQuery processInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)
Only select historic tasks for any of the given the given process instance business keys.
-
processInstanceBusinessKeyLike
HistoricTaskInstanceQuery processInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)
Only select historic tasks matching the given process instance business key. The syntax is that of SQL: for example usage: nameLike(%camunda%)
-
executionId
HistoricTaskInstanceQuery executionId(java.lang.String executionId)
Only select historic task instances for the given execution.
-
activityInstanceIdIn
HistoricTaskInstanceQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Only select historic task instances which have one of the given activity instance ids.
-
processDefinitionId
HistoricTaskInstanceQuery processDefinitionId(java.lang.String processDefinitionId)
Only select historic task instances for the given process definition.
-
processDefinitionKey
HistoricTaskInstanceQuery processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.
-
processDefinitionName
HistoricTaskInstanceQuery processDefinitionName(java.lang.String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance which has the given definition name.
-
caseDefinitionId
HistoricTaskInstanceQuery caseDefinitionId(java.lang.String caseDefinitionId)
Only select historic task instances for the given case definition.
-
caseDefinitionKey
HistoricTaskInstanceQuery caseDefinitionKey(java.lang.String caseDefinitionKey)
Only select historic task instances which are part of a case instance which has the given case definition key.
-
caseDefinitionName
HistoricTaskInstanceQuery caseDefinitionName(java.lang.String caseDefinitionName)
Only select historic task instances which are part of a (historic) case instance which has the given case definition name.
-
caseInstanceId
HistoricTaskInstanceQuery caseInstanceId(java.lang.String caseInstanceId)
Only select historic task instances for the given case instance.
-
caseExecutionId
HistoricTaskInstanceQuery caseExecutionId(java.lang.String caseExecutionId)
Only select historic task instances for the given case execution id.
-
taskName
HistoricTaskInstanceQuery taskName(java.lang.String taskName)
Only select historic task instances with the given task name. This is the last name given to the task. The query will match the names of historic task instances in a case-insensitive way.
-
taskNameLike
HistoricTaskInstanceQuery taskNameLike(java.lang.String taskNameLike)
Only select historic task instances with a task name like the given value. This is the last name given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%. The query will match the names of historic task instances in a case-insensitive way.
-
taskDescription
HistoricTaskInstanceQuery taskDescription(java.lang.String taskDescription)
Only select historic task instances with the given task description. This is the last description given to the task. The query will match the descriptions of historic task instances in a case-insensitive way.
-
taskDescriptionLike
HistoricTaskInstanceQuery taskDescriptionLike(java.lang.String taskDescriptionLike)
Only select historic task instances with a task description like the given value. This is the last description given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%. The query will match the descriptions of historice task instances in a case-insensitive way.
-
taskDefinitionKey
HistoricTaskInstanceQuery taskDefinitionKey(java.lang.String taskDefinitionKey)
Only select historic task instances with the given task definition key.- See Also:
Task.getTaskDefinitionKey()
-
taskDefinitionKeyIn
HistoricTaskInstanceQuery taskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)
Only select historic task instances with one of the given task definition keys.- See Also:
Task.getTaskDefinitionKey()
-
taskDeleteReason
HistoricTaskInstanceQuery taskDeleteReason(java.lang.String taskDeleteReason)
Only select historic task instances with the given task delete reason.
-
taskDeleteReasonLike
HistoricTaskInstanceQuery taskDeleteReasonLike(java.lang.String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.
-
taskAssigned
HistoricTaskInstanceQuery taskAssigned()
Only select historic task instances with an assignee.
-
taskUnassigned
HistoricTaskInstanceQuery taskUnassigned()
Only select historic task instances without an assignee.
-
taskAssignee
HistoricTaskInstanceQuery taskAssignee(java.lang.String taskAssignee)
Only select historic task instances which were last taskAssigned to the given assignee.
-
taskAssigneeLike
HistoricTaskInstanceQuery taskAssigneeLike(java.lang.String taskAssigneeLike)
Only select historic task instances which were last taskAssigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.
-
taskOwner
HistoricTaskInstanceQuery taskOwner(java.lang.String taskOwner)
Only select historic task instances which have the given owner.
-
taskOwnerLike
HistoricTaskInstanceQuery taskOwnerLike(java.lang.String taskOwnerLike)
Only select historic task instances which have an owner like the one specified. The syntax that should be used is the same as in SQL, eg. %activiti%.
-
taskPriority
HistoricTaskInstanceQuery taskPriority(java.lang.Integer taskPriority)
Only select historic task instances with the given priority.
-
finished
HistoricTaskInstanceQuery finished()
Only select historic task instances which are finished.
-
unfinished
HistoricTaskInstanceQuery unfinished()
Only select historic task instances which aren't finished yet.
-
processFinished
HistoricTaskInstanceQuery processFinished()
Only select historic task instances which are part of a process instance which is already finished.
-
processUnfinished
HistoricTaskInstanceQuery processUnfinished()
Only select historic task instances which are part of a process instance which is not finished yet.
-
taskInvolvedUser
HistoricTaskInstanceQuery taskInvolvedUser(java.lang.String involvedUser)
Only select historic task instances which have mapping with Historic identity links based on user id- Since:
- 7.5
-
taskInvolvedGroup
HistoricTaskInstanceQuery taskInvolvedGroup(java.lang.String involvedGroup)
Only select historic task instances which have mapping with Historic identity links based on group id- Since:
- 7.5
-
taskHadCandidateUser
HistoricTaskInstanceQuery taskHadCandidateUser(java.lang.String candidateUser)
Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidate- Since:
- 7.5
-
taskHadCandidateGroup
HistoricTaskInstanceQuery taskHadCandidateGroup(java.lang.String candidateGroup)
Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidate- Since:
- 7.5
-
withCandidateGroups
HistoricTaskInstanceQuery withCandidateGroups()
Only select historic task instances which have a candidate group
-
withoutCandidateGroups
HistoricTaskInstanceQuery withoutCandidateGroups()
Only select historic task instances which have no candidate group
-
matchVariableNamesIgnoreCase
HistoricTaskInstanceQuery matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.
-
matchVariableValuesIgnoreCase
HistoricTaskInstanceQuery matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.
-
taskVariableValueEquals
HistoricTaskInstanceQuery taskVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Only select historic task instances which have a local task variable with the given name set to the given value. Make sure history-level is configured >= AUDIT when this feature is used.
-
taskParentTaskId
HistoricTaskInstanceQuery taskParentTaskId(java.lang.String parentTaskId)
Only select subtasks of the given parent task
-
processVariableValueEquals
HistoricTaskInstanceQuery processVariableValueEquals(java.lang.String variableName, java.lang.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. The last variable value in the variable updates (HistoricDetail) will be used, so make sure history-level is configured >= AUDIT when this feature is used.
-
processVariableValueNotEquals
HistoricTaskInstanceQuery processVariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)
Only select historic task instances which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.
-
processVariableValueLike
HistoricTaskInstanceQuery processVariableValueLike(java.lang.String variableName, java.lang.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. The syntax is that of SQL: for example usage: valueLike(%value%)
-
processVariableValueNotLike
HistoricTaskInstanceQuery processVariableValueNotLike(java.lang.String variableName, java.lang.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. The syntax is that of SQL: for example usage: valueNotLike(%value%)
-
processVariableValueGreaterThan
HistoricTaskInstanceQuery processVariableValueGreaterThan(java.lang.String variableName, java.lang.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.
-
processVariableValueGreaterThanOrEquals
HistoricTaskInstanceQuery processVariableValueGreaterThanOrEquals(java.lang.String variableName, java.lang.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.
-
processVariableValueLessThan
HistoricTaskInstanceQuery processVariableValueLessThan(java.lang.String variableName, java.lang.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.
-
processVariableValueLessThanOrEquals
HistoricTaskInstanceQuery processVariableValueLessThanOrEquals(java.lang.String variableName, java.lang.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.
-
taskDueDate
HistoricTaskInstanceQuery taskDueDate(java.util.Date dueDate)
Only select select historic task instances with the given due date.
-
taskDueBefore
HistoricTaskInstanceQuery taskDueBefore(java.util.Date dueDate)
Only select select historic task instances which have a due date before the given date.
-
taskDueAfter
HistoricTaskInstanceQuery taskDueAfter(java.util.Date dueDate)
Only select select historic task instances which have a due date after the given date.
-
withoutTaskDueDate
HistoricTaskInstanceQuery withoutTaskDueDate()
Only select select historic task instances that have no due date.
-
taskFollowUpDate
HistoricTaskInstanceQuery taskFollowUpDate(java.util.Date followUpDate)
Only select select historic task instances with the given follow-up date.
-
taskFollowUpBefore
HistoricTaskInstanceQuery taskFollowUpBefore(java.util.Date followUpDate)
Only select select historic task instances which have a follow-up date before the given date.
-
taskFollowUpAfter
HistoricTaskInstanceQuery taskFollowUpAfter(java.util.Date followUpDate)
Only select select historic task instances which have a follow-up date after the given date.
-
tenantIdIn
HistoricTaskInstanceQuery tenantIdIn(java.lang.String... tenantIds)
Only select historic task instances with one of the given tenant ids.
-
withoutTenantId
HistoricTaskInstanceQuery withoutTenantId()
Only selects historic task instances that have no tenant id.
-
finishedAfter
HistoricTaskInstanceQuery finishedAfter(java.util.Date date)
Only select tasks where end time is after given date
-
finishedBefore
HistoricTaskInstanceQuery finishedBefore(java.util.Date date)
Only select tasks where end time is before given date
-
startedAfter
HistoricTaskInstanceQuery startedAfter(java.util.Date date)
Only select tasks where started after given date
-
startedBefore
HistoricTaskInstanceQuery startedBefore(java.util.Date date)
Only select tasks where started before given date
-
orderByTenantId
HistoricTaskInstanceQuery orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of historic task instances without tenant id is database-specific.
-
orderByTaskId
HistoricTaskInstanceQuery orderByTaskId()
Order by task id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByHistoricActivityInstanceId
HistoricTaskInstanceQuery orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessDefinitionId
HistoricTaskInstanceQuery orderByProcessDefinitionId()
Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByProcessInstanceId
HistoricTaskInstanceQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByExecutionId
HistoricTaskInstanceQuery orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByHistoricTaskInstanceDuration
HistoricTaskInstanceQuery orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByHistoricTaskInstanceEndTime
HistoricTaskInstanceQuery orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByHistoricActivityInstanceStartTime
HistoricTaskInstanceQuery orderByHistoricActivityInstanceStartTime()
Order by start time (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskName
HistoricTaskInstanceQuery orderByTaskName()
Order by task name (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskDescription
HistoricTaskInstanceQuery orderByTaskDescription()
Order by task description (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskAssignee
HistoricTaskInstanceQuery orderByTaskAssignee()
Order by task assignee (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskOwner
HistoricTaskInstanceQuery orderByTaskOwner()
Order by task owner (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskDueDate
HistoricTaskInstanceQuery orderByTaskDueDate()
Order by task due date (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskFollowUpDate
HistoricTaskInstanceQuery orderByTaskFollowUpDate()
Order by task follow-up date (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByDeleteReason
HistoricTaskInstanceQuery orderByDeleteReason()
Order by task delete reason (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskDefinitionKey
HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Order by task definition key (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByTaskPriority
HistoricTaskInstanceQuery orderByTaskPriority()
Order by task priority key (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByCaseDefinitionId
HistoricTaskInstanceQuery orderByCaseDefinitionId()
Order by case definition id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByCaseInstanceId
HistoricTaskInstanceQuery orderByCaseInstanceId()
Order by case instance id (needs to be followed byQuery.asc()orQuery.desc()).
-
orderByCaseExecutionId
HistoricTaskInstanceQuery orderByCaseExecutionId()
Order by case execution id (needs to be followed byQuery.asc()orQuery.desc()).
-
or
HistoricTaskInstanceQuery or()
After calling or(), a chain of several filter criteria could follow. Each filter criterion that follows or() will be linked together with an OR expression until the OR query is terminated. To terminate the OR query right after the last filter criterion was applied,
endOr()must be invoked.- Returns:
- an object of the type
HistoricTaskInstanceQueryon which an arbitrary amount of filter criteria could be applied. The several filter criteria will be linked together by an OR expression. - Throws:
ProcessEngineException- when or() has been invoked directly after or() or after or() and trailing filter criteria. To prevent throwing this exception,endOr()must be invoked after a chain of filter criteria to mark the end of the OR query.
-
endOr
HistoricTaskInstanceQuery endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied. To terminate the OR query which has been started by invoking
or(), endOr() must be invoked. Filter criteria which are applied after calling endOr() are linked together by an AND expression.- Returns:
- an object of the type
HistoricTaskInstanceQueryon which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression. - Throws:
ProcessEngineException- when endOr() has been invoked beforeor()was invoked. To prevent throwing this exception,or()must be invoked first.
-
-