public interface ProcessInstanceHistory
ProcessInstanceStep
Modifier and Type | Interface and Description |
---|---|
static class |
ProcessInstanceHistory.TerminationType |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceStep |
getCurrentStep()
If the process instance is not completed, returns the current step.
|
List<ProcessInstanceStep> |
getSteps()
Returns the list of process instance steps that have already been
executed, as well as the current step if the process is not yet complete.
|
ProcessInstanceHistory.TerminationType |
getTerminationType()
Returns the termination type of the workflow.
|
List<ProcessInstanceStep> getSteps()
A step can be:
If the workflow is complete and the history has been cleaned, the list of steps will be empty.
List
of ProcessInstanceStep
.ProcessInstanceStep getCurrentStep()
null
.ProcessInstanceHistory.TerminationType getTerminationType()
If the workflow is not yet terminated, this method returns
ProcessInstanceHistory.TerminationType.NOT_TERMINATED
.