.getService("do_wfi_nodeinstance_deletebypiuid");
deleteNIs.invokeUpdate(processInstance.getObjUid());
DOService deleteNIRels = DOService
.getService("do_wfi_ni_dependency_deleterubbish");
deleteNIRels.invokeUpdate();
} catch (Exception ex1) {
ts.rollback();
ex1.printStackTrace();
throw new WFException("流程结束,保存结束状态出错::" + ex1.toString(), ex1);