Package org.flowable.engine.history
Interface HistoricActivityInstance
- All Superinterfaces:
org.flowable.common.engine.api.history.HistoricData
public interface HistoricActivityInstance
extends org.flowable.common.engine.api.history.HistoricData
Represents one execution of an activity and it's stored permanent for statistics, audit and other business intelligence purposes.
- Author:
- Christian Stettler, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the activity in the processThe display name for the activityThe XML tag of the activity as in the process fileAssignee in case of user task activityThe called process instance in case of call activityReturns the delete reason for this activity, if any was set (if completed normally, no delete reason is set)Difference betweengetEndTime()
andgetStartTime()
.Time when the activity instance endedExecution referencegetId()
The unique identifier of this historic activity instance.Process definition referenceProcess instance referenceTime when the activity instance startedThe corresponding task in case of task activityReturns the tenant identifier for the historic activityGet transaction order valueMethods inherited from interface org.flowable.common.engine.api.history.HistoricData
getTime
-
Method Details
-
getId
String getId()The unique identifier of this historic activity instance. -
getActivityId
String getActivityId()The unique identifier of the activity in the process -
getActivityName
String getActivityName()The display name for the activity -
getActivityType
String getActivityType()The XML tag of the activity as in the process file -
getProcessDefinitionId
String getProcessDefinitionId()Process definition reference -
getProcessInstanceId
String getProcessInstanceId()Process instance reference -
getExecutionId
String getExecutionId()Execution reference -
getTaskId
String getTaskId()The corresponding task in case of task activity -
getCalledProcessInstanceId
String getCalledProcessInstanceId()The called process instance in case of call activity -
getAssignee
String getAssignee()Assignee in case of user task activity -
getStartTime
Date getStartTime()Time when the activity instance started -
getEndTime
Date getEndTime()Time when the activity instance ended -
getDurationInMillis
Long getDurationInMillis()Difference betweengetEndTime()
andgetStartTime()
. -
getTransactionOrder
Integer getTransactionOrder()Get transaction order value -
getDeleteReason
String getDeleteReason()Returns the delete reason for this activity, if any was set (if completed normally, no delete reason is set) -
getTenantId
String getTenantId()Returns the tenant identifier for the historic activity
-