Interface ProcessInstanceLog
public interface ProcessInstanceLog
Audit view of process instance
-
Method Summary
Modifier and TypeMethodDescriptionAmount of time (in milliseconds) that process instance took to complete.getEnd()End date of this process instance, null if process instance is still activeExternal (optional) identifier associated with this process instanceIdentifier of a entity (user) who initiated this process instance.Outcome of the process instance that is providing error information in case process instance completed with an errorParent process instance id, will be null for top level process instanceProcess id of the definitionDescription of the process instanceProcess instance identifierName of the process definitionVersion of the process definitiongetStart()Start date of this process instanceStatus of the process instance and might be one of: ProcessInstance.STATE_ACTIVE ProcessInstance.STATE_COMPLETED ProcessInstance.STATE_ABORTED ProcessInstance.STATE_SUSPENDED
-
Method Details
-
getProcessInstanceId
Long getProcessInstanceId()Process instance identifier- Returns:
- the
Longvalue
-
getProcessId
String getProcessId()Process id of the definition- Returns:
- the
Stringvalue
-
getStart
Date getStart()Start date of this process instance- Returns:
- the
Datevalue
-
getEnd
Date getEnd()End date of this process instance, null if process instance is still active- Returns:
- the
Datevalue
-
getStatus
Integer getStatus()Status of the process instance and might be one of:- ProcessInstance.STATE_ACTIVE
- ProcessInstance.STATE_COMPLETED
- ProcessInstance.STATE_ABORTED
- ProcessInstance.STATE_SUSPENDED
- Returns:
- the
Integervalue
-
getParentProcessInstanceId
Long getParentProcessInstanceId()Parent process instance id, will be null for top level process instance- Returns:
- the
Longvalue
-
getOutcome
String getOutcome()Outcome of the process instance that is providing error information in case process instance completed with an error- Returns:
- the
Stringvalue
-
getDuration
Long getDuration()Amount of time (in milliseconds) that process instance took to complete. Available only when process instance is completed.- Returns:
- the
Stringvalue
-
getIdentity
String getIdentity()Identifier of a entity (user) who initiated this process instance.- Returns:
- the
Stringvalue
-
getExternalId
String getExternalId()External (optional) identifier associated with this process instance- Returns:
- the
Stringvalue
-
getProcessVersion
String getProcessVersion()Version of the process definition- Returns:
- the
Stringvalue
-
getProcessName
String getProcessName()Name of the process definition- Returns:
- the
Stringvalue
-
getProcessInstanceDescription
String getProcessInstanceDescription()Description of the process instance- Returns:
- the
Stringvalue
-