Additionally to {@link #execute()} the associated case execution willbe completed. Therefore there happens a transition from the state ACTIVE
to state COMPLETED
.
It is only possible to complete a case execution which is associated with a {@link Stage} or {@link Task}.
In case of a {@link Stage} the completion can only be performed when the followingcriteria are fulfilled:
ACTIVE
For a {@link Task} instance, this means its purpose has been accomplished:
If the given case execution has a parent case execution, that parent case execution will be notified that the given case execution has been completed. This can lead to a completion of the parent case execution if the completion criteria are fulfilled.
@throws NotValidException when the given case execution id is null @throws NotFoundException when no case execution is found for thegiven case execution id @throws NotAllowedException when the transition is not allowed to be done @throws ProcessEngineException when an internal exception happens during the executionof the command.
|
|
|
|