Interface HistoricExternalTaskLog

All Known Implementing Classes:
HistoricExternalTaskLogEntity

public interface HistoricExternalTaskLog

The HistoricExternalTaskLog is used to have a log containing information about task execution. The log provides details about the last lifecycle state of a task:

An instance of HistoricExternalTaskLog represents the latest historic state in the lifecycle of a task.
Since:
7.7
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns the id of the activity which the external task associated with.
    Returns the id of the activity instance on which the associated external task was created.
    Returns the message of the error that occurred by executing the associated external task.
    Returns the specific execution id on which the associated external task was created.
    Returns the id of the associated external task.
    Returns the unique identifier for this historic external task log.
    long
    Returns the priority of the associated external task when this log entry was created.
    Returns the specific process definition id on which the associated external task was created.
    Returns the specific process definition key on which the associated external task was created.
    Returns the specific process instance id on which the associated external task was created.
    The time the historic external task log will be removed.
    Returns the retries of the associated external task before the associated external task has been executed and when this log occurred.
    Returns the specific root process instance id of the process instance on which the associated external task was created.
    Returns the id of the tenant this external task log entry belongs to.
    Returns the time when this log occurred.
    Returns the topic name of the associated external task.
    Returns the id of the worker that fetched the external task most recently.
    boolean
    Returns true when this log represents the creation of the associated external task.
    boolean
    Returns true when this log represents the deletion of the associated external task.
    boolean
    Returns true when this log represents the failed execution of the associated external task.
    boolean
    Returns true when this log represents the successful execution of the associated external task.
  • Method Details Link icon

    • getId Link icon

      String getId()
      Returns the unique identifier for this historic external task log.
    • getTimestamp Link icon

      Date getTimestamp()
      Returns the time when this log occurred.
    • getExternalTaskId Link icon

      String getExternalTaskId()
      Returns the id of the associated external task.
    • getRetries Link icon

      Integer getRetries()
      Returns the retries of the associated external task before the associated external task has been executed and when this log occurred.
    • getPriority Link icon

      long getPriority()
      Returns the priority of the associated external task when this log entry was created.
    • getTopicName Link icon

      String getTopicName()
      Returns the topic name of the associated external task.
    • getWorkerId Link icon

      String getWorkerId()
      Returns the id of the worker that fetched the external task most recently.
    • getErrorMessage Link icon

      String getErrorMessage()
      Returns the message of the error that occurred by executing the associated external task. To get the full error details, use HistoryService.getHistoricExternalTaskLogErrorDetails(String)
    • getActivityId Link icon

      String getActivityId()
      Returns the id of the activity which the external task associated with.
    • getActivityInstanceId Link icon

      String getActivityInstanceId()
      Returns the id of the activity instance on which the associated external task was created.
    • getExecutionId Link icon

      String getExecutionId()
      Returns the specific execution id on which the associated external task was created.
    • getRootProcessInstanceId Link icon

      String getRootProcessInstanceId()
      Returns the specific root process instance id of the process instance on which the associated external task was created.
    • getProcessInstanceId Link icon

      String getProcessInstanceId()
      Returns the specific process instance id on which the associated external task was created.
    • getProcessDefinitionId Link icon

      String getProcessDefinitionId()
      Returns the specific process definition id on which the associated external task was created.
    • getProcessDefinitionKey Link icon

      String getProcessDefinitionKey()
      Returns the specific process definition key on which the associated external task was created.
    • getTenantId Link icon

      String getTenantId()
      Returns the id of the tenant this external task log entry belongs to. Can be null if the external task log entry belongs to no single tenant.
    • isCreationLog Link icon

      boolean isCreationLog()
      Returns true when this log represents the creation of the associated external task.
    • isFailureLog Link icon

      boolean isFailureLog()
      Returns true when this log represents the failed execution of the associated external task.
    • isSuccessLog Link icon

      boolean isSuccessLog()
      Returns true when this log represents the successful execution of the associated external task.
    • isDeletionLog Link icon

      boolean isDeletionLog()
      Returns true when this log represents the deletion of the associated external task.
    • getRemovalTime Link icon

      Date getRemovalTime()
      The time the historic external task log will be removed.