|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HistoricProcessInstance
A single execution of a whole process definition that is stored permanently.
Field Summary | |
---|---|
static String |
STATE_ACTIVE
|
static String |
STATE_COMPLETED
|
static String |
STATE_EXTERNALLY_TERMINATED
|
static String |
STATE_INTERNALLY_TERMINATED
|
static String |
STATE_SUSPENDED
|
Method Summary | |
---|---|
String |
getBusinessKey()
The user provided unique reference to this process instance. |
String |
getCaseInstanceId()
The case instance id of a potential super case instance or null if no super case instance exists |
String |
getDeleteReason()
Obtains the reason for the process instance's deletion. |
Long |
getDurationInMillis()
The difference between getEndTime() and getStartTime() . |
String |
getEndActivityId()
Deprecated. |
Date |
getEndTime()
The time the process was ended. |
String |
getId()
The process instance id (== as the id for the runtime process instance ). |
String |
getProcessDefinitionId()
The process definition reference. |
String |
getProcessDefinitionKey()
The process definition key reference. |
String |
getProcessDefinitionName()
The process definition name. |
Integer |
getProcessDefinitionVersion()
The process definition version. |
String |
getStartActivityId()
The start activity. |
Date |
getStartTime()
The time the process was started. |
String |
getStartUserId()
The authenticated user that started this process instance. |
String |
getState()
Return current state of HistoricProcessInstance, following values are recognized during process engine operations: STATE_ACTIVE - running process instance STATE_SUSPENDED - suspended process instances STATE_COMPLETED - completed through normal end event STATE_EXTERNALLY_TERMINATED - terminated externally, for instance through REST API STATE_INTERNALLY_TERMINATED - terminated internally, for instance by terminating boundary event |
String |
getSuperCaseInstanceId()
The case instance id of a potential super case instance or null if no super case instance exists |
String |
getSuperProcessInstanceId()
The process instance id of a potential super process instance or null if no super process instance exists |
String |
getTenantId()
The id of the tenant this historic process instance belongs to. |
Field Detail |
---|
static final String STATE_ACTIVE
static final String STATE_SUSPENDED
static final String STATE_COMPLETED
static final String STATE_EXTERNALLY_TERMINATED
static final String STATE_INTERNALLY_TERMINATED
Method Detail |
---|
String getId()
process instance
).
String getBusinessKey()
String getProcessDefinitionKey()
String getProcessDefinitionId()
String getProcessDefinitionName()
Integer getProcessDefinitionVersion()
Date getStartTime()
Date getEndTime()
Long getDurationInMillis()
getEndTime()
and getStartTime()
.
@Deprecated String getEndActivityId()
HistoricActivityInstanceQuery
instead to query
for end events of the process instance (use the activityTYpe attribute)
String getStartUserId()
IdentityService.setAuthenticatedUserId(String)
String getStartActivityId()
String getDeleteReason()
String getSuperProcessInstanceId()
String getSuperCaseInstanceId()
String getCaseInstanceId()
String getTenantId()
null
if the historic process instance belongs to no single tenant.
String getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |