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 Details Link icon

    • getId Link icon

      String getId()
      The unique identifier of this historic task instance. This is the same identifier as the runtime Task instance.
    • getProcessDefinitionKey Link icon

      String getProcessDefinitionKey()
      Process definition key reference.
    • getProcessDefinitionId Link icon

      String getProcessDefinitionId()
      Process definition reference.
    • getRootProcessInstanceId Link icon

      String getRootProcessInstanceId()
      Root process instance reference.
    • getProcessInstanceId Link icon

      String getProcessInstanceId()
      Process instance reference.
    • getExecutionId Link icon

      String getExecutionId()
      Execution reference.
    • getCaseDefinitionKey Link icon

      String getCaseDefinitionKey()
      Case definition key reference.
    • getCaseDefinitionId Link icon

      String getCaseDefinitionId()
      Case definition reference.
    • getCaseInstanceId Link icon

      String getCaseInstanceId()
      Case instance reference.
    • getCaseExecutionId Link icon

      String getCaseExecutionId()
      Case execution reference.
    • getActivityInstanceId Link icon

      String getActivityInstanceId()
      Activity instance reference.
    • getName Link icon

      String getName()
      The latest name given to this task.
    • getDescription Link icon

      String getDescription()
      The latest description given to this task.
    • getDeleteReason Link icon

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

      String getOwner()
      Task owner
    • getAssignee Link icon

      String getAssignee()
      The latest assignee given to this task.
    • getStartTime Link icon

      Date getStartTime()
      Time when the task started.
    • getEndTime Link icon

      Date getEndTime()
      Time when the task was deleted or completed.
    • getDurationInMillis Link icon

      Long getDurationInMillis()
      Difference between getEndTime() and getStartTime() in milliseconds.
    • getTaskDefinitionKey Link icon

      String getTaskDefinitionKey()
      Task definition key.
    • getPriority Link icon

      int getPriority()
      Task priority
    • getDueDate Link icon

      Date getDueDate()
      Task due date
    • getParentTaskId Link icon

      String getParentTaskId()
      The parent task of this task, in case this task was a subtask
    • getFollowUpDate Link icon

      Date getFollowUpDate()
      Task follow-up date
    • getTenantId Link icon

      String getTenantId()
      The id of the tenant this historic task instance belongs to. Can be null if the historic task instance belongs to no single tenant.
    • getRemovalTime Link icon

      Date getRemovalTime()
      The time the historic task instance will be removed.
    • getTaskState Link icon

      String getTaskState()
      Task State also referred as lifeCycleState