* @param targetActivityInstance
* @throws EngineException
* @throws KernelException
*/
public void complete(IActivityInstance targetActivityInstance) throws EngineException, KernelException {
ITaskInstanceManager taskInstanceMgr = this.rtCtx.getTaskInstanceManager();
taskInstanceMgr.completeTaskInstance(workflowSession, this.getAliveProcessInstance(), this, targetActivityInstance);
// taskInstanceMgr.completeTaskInstance(this, targetActivityInstance);
}