Package org.camunda.bpm.engine.history
Interface HistoricTaskInstance
- All Known Implementing Classes:
HistoricTaskInstanceEntity
public interface HistoricTaskInstance
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for
statistics, audit and other business intelligence purposes.
- Author:
- Tom Baeyens
-
Method Summary
Modifier and TypeMethodDescriptionActivity instance reference.The latest assignee given to this task.Case definition reference.Case definition key reference.Case execution reference.Case instance reference.The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.The latest description given to this task.Task due dateDifference betweengetEndTime()
andgetStartTime()
in milliseconds.Time when the task was deleted or completed.Execution reference.Task follow-up dategetId()
The unique identifier of this historic task instance.getName()
The latest name given to this task.getOwner()
Task ownerThe parent task of this task, in case this task was a subtaskint
Task priorityProcess definition reference.Process definition key reference.Process instance reference.The time the historic task instance will be removed.Root process instance reference.Time when the task started.Task definition key.The id of the tenant this historic task instance belongs to.
-
Method Details
-
getId
String getId()The unique identifier of this historic task instance. This is the same identifier as the runtime Task instance. -
getProcessDefinitionKey
String getProcessDefinitionKey()Process definition key reference. -
getProcessDefinitionId
String getProcessDefinitionId()Process definition reference. -
getRootProcessInstanceId
String getRootProcessInstanceId()Root process instance reference. -
getProcessInstanceId
String getProcessInstanceId()Process instance reference. -
getExecutionId
String getExecutionId()Execution reference. -
getCaseDefinitionKey
String getCaseDefinitionKey()Case definition key reference. -
getCaseDefinitionId
String getCaseDefinitionId()Case definition reference. -
getCaseInstanceId
String getCaseInstanceId()Case instance reference. -
getCaseExecutionId
String getCaseExecutionId()Case execution reference. -
getActivityInstanceId
String getActivityInstanceId()Activity instance reference. -
getName
String getName()The latest name given to this task. -
getDescription
String getDescription()The latest description given to this task. -
getDeleteReason
String getDeleteReason()The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }. -
getOwner
String getOwner()Task owner -
getAssignee
String getAssignee()The latest assignee given to this task. -
getStartTime
Date getStartTime()Time when the task started. -
getEndTime
Date getEndTime()Time when the task was deleted or completed. -
getDurationInMillis
Long getDurationInMillis()Difference betweengetEndTime()
andgetStartTime()
in milliseconds. -
getTaskDefinitionKey
String getTaskDefinitionKey()Task definition key. -
getPriority
int getPriority()Task priority -
getDueDate
Date getDueDate()Task due date -
getParentTaskId
String getParentTaskId()The parent task of this task, in case this task was a subtask -
getFollowUpDate
Date getFollowUpDate()Task follow-up date -
getTenantId
String getTenantId()The id of the tenant this historic task instance belongs to. Can benull
if the historic task instance belongs to no single tenant. -
getRemovalTime
Date getRemovalTime()The time the historic task instance will be removed.
-