ends this token and all of its children (if any). this is the last active (=not-ended) child of a parent token,
the parent token will be ended as well and that verification will continue to
propagate.
end
public void end(boolean verifyParentTermination)(Code)
ends this token with optional parent ending verification.
Parameters: verifyParentTermination - specifies if the parent token should be checked for termination.if verifyParentTermination is set to true and this is the last non-ended child of a parent token, the parent token will be ended as well and the verification will continue to propagate.
locks a process instance for further execution. A locked token
cannot continue execution. This is a non-persistent
operation. This is used to prevent tokens being propagated during
the execution of actions.
See Also:Token.unlock(String) See Also: