Package org.camunda.bpm.engine.history
Interface HistoricVariableInstance
- All Known Implementing Classes:
HistoricVariableInstanceEntity
public interface HistoricVariableInstance
A single process variable containing the last value when its process instance has finished.
It is only available when HISTORY_LEVEL is set >= AUDIT
- Author:
- Christian Lipphardt (camunda), ruecker
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the corresponding activity instance id.Deprecated.The case definition reference.The case definition key reference.Return the corresponding case execution id.The case instance reference.The time when the variable was created.If the variable value could not be loaded, this returns the error message.Return the corresponding execution id.getId()
getName()
Returns the name of this variable instance.The process definition reference.The process definition key reference.The process instance reference.The time when the historic variable instance will be removed.The root process instance reference.getState()
The current state of the variable.Return the corresponding task id.The id of the tenant this variable belongs to.Returns theTypedValue
of this variable instance.Returns the name of the type of this variable instancegetValue()
Returns the value of this variable instance.Deprecated.Deprecated.
-
Field Details
-
STATE_CREATED
- See Also:
-
STATE_DELETED
- See Also:
-
-
Method Details
-
getId
String getId()- Returns:
- the Id of this variable instance
-
getName
String getName()Returns the name of this variable instance. -
getTypeName
String getTypeName()Returns the name of the type of this variable instance- Returns:
- the type name of the variable
-
getValue
Object getValue()Returns the value of this variable instance. -
getTypedValue
TypedValue getTypedValue()Returns theTypedValue
of this variable instance. -
getVariableName
Deprecated.Returns the name of this variable instance.Deprecated since 7.2: use
getName()
instead. -
getVariableTypeName
Deprecated.Returns the name of the type of this variable instance
Deprecated since 7.2: use
getTypeName()
instead. -
getProcessDefinitionKey
String getProcessDefinitionKey()The process definition key reference. -
getProcessDefinitionId
String getProcessDefinitionId()The process definition reference. -
getRootProcessInstanceId
String getRootProcessInstanceId()The root process instance reference. -
getProcessInstanceId
String getProcessInstanceId()The process instance reference. -
getExecutionId
String getExecutionId()Return the corresponding execution id. -
getActivtyInstanceId
Deprecated.Returns the corresponding activity instance id. -
getActivityInstanceId
String getActivityInstanceId()Returns the corresponding activity instance id. -
getCaseDefinitionKey
String getCaseDefinitionKey()The case definition key reference. -
getCaseDefinitionId
String getCaseDefinitionId()The case definition reference. -
getCaseInstanceId
String getCaseInstanceId()The case instance reference. -
getCaseExecutionId
String getCaseExecutionId()Return the corresponding case execution id. -
getTaskId
String getTaskId()Return the corresponding task id. -
getErrorMessage
String getErrorMessage()If the variable value could not be loaded, this returns the error message.- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTenantId
String getTenantId()The id of the tenant this variable belongs to. Can benull
if the variable belongs to no single tenant. -
getState
String getState()The current state of the variable. Can be 'CREATED' or 'DELETED' -
getCreateTime
Date getCreateTime()The time when the variable was created. -
getRemovalTime
Date getRemovalTime()The time when the historic variable instance will be removed.
-