Package org.flowable.task.api.history
Interface HistoricTaskInstance
- All Superinterfaces:
org.flowable.common.engine.api.history.HistoricData
,TaskInfo
public interface HistoricTaskInstance
extends TaskInfo, org.flowable.common.engine.api.history.HistoricData
Represents a historic task instance (waiting, finished or deleted) that is stored permanent for statistics, audit and other business intelligence purposes.
- Author:
- Tom Baeyens, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionUser reference that has completed the task.The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.Difference betweengetEndTime()
andgetStartTime()
in milliseconds.Time when the task was deleted or completed.Deprecated.Difference betweengetEndTime()
andTaskInfo.getClaimTime()
in milliseconds.Methods inherited from interface org.flowable.common.engine.api.history.HistoricData
getTime
Methods inherited from interface org.flowable.task.api.TaskInfo
getAssignee, getCaseVariables, getCategory, getClaimedBy, getClaimTime, getCreateTime, getDescription, getDueDate, getExecutionId, getFormKey, getId, getIdentityLinks, getInProgressStartDueDate, getInProgressStartedBy, getInProgressStartTime, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getProcessVariables, getPropagatedStageInstanceId, getScopeDefinitionId, getScopeId, getScopeType, getState, getSubScopeId, getSuspendedBy, getSuspendedTime, getTaskDefinitionId, getTaskDefinitionKey, getTaskLocalVariables, getTenantId
-
Method Details
-
getDeleteReason
String getDeleteReason()The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }. -
getStartTime
Deprecated.useTaskInfo.getCreateTime()
insteadTime when the task created. -
getEndTime
Date getEndTime()Time when the task was deleted or completed. -
getCompletedBy
String getCompletedBy()User reference that has completed the task. -
getDurationInMillis
Long getDurationInMillis()Difference betweengetEndTime()
andgetStartTime()
in milliseconds. -
getWorkTimeInMillis
Long getWorkTimeInMillis()Difference betweengetEndTime()
andTaskInfo.getClaimTime()
in milliseconds.
-
TaskInfo.getCreateTime()
instead