Transition to {@link CaseExecutionState#COMPLETED} state.
This
case execution must be in {@link CaseExecutionState#ACTIVE}state to be able to do this transition.
It is only possible to complete a case execution manually which is associated with a {@link Stage} or {@link Task}.
If this
case execution has a parent case execution, that parent case execution will be notified that this
case execution has been completed. This can lead to a completion of the parent case execution, for more details when the parent case execution can be completed see {@link #complete()}.
In case of a {@link Stage} the completion can only be performed when the followingcriteria are fulfilled:
requiredRule
evaluates to true
) children are in state For a {@link Task} instance, this means its purpose has been accomplished:
this
case executionis not {@link CaseExecutionState#ACTIVE} or when the case execution cannot becompleted.
@throws ProcessEngineException when an internal exception happens during the executionof the command.
|
|
|
|
|
|
|
|
|
|