TokenEntity tokenObj, TaskQuery taskQuery) {
Long taskNum = taskQuery.tokenId(tokenObj.getId()).nodeId(flowNode.getId()).count();
if (taskNum != 0) {
tokenObj.terminationChildToken();
ExecutionContext executionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(tokenObj);
executionContext.setToFlowNode(flowNode);
executionContext.setRollBackAssignee(rollBackAssignee);
tokenObj.signal(executionContext);
return true;
} else {
if (tokenObj.getParent() != null) {
return toFlowNodeEnd(taskCommandInst, taskComment, flowNode, rollBackAssignee, tokenObj.getParent(), taskQuery);