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 Details

    • getDeleteReason

      String getDeleteReason()
      The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
    • getStartTime

      @Deprecated Date getStartTime()
      Deprecated.
      Time 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 between getEndTime() and getStartTime() in milliseconds.
    • getWorkTimeInMillis

      Long getWorkTimeInMillis()
      Difference between getEndTime() and TaskInfo.getClaimTime() in milliseconds.