if (curPt == null || pi == null) {
this.setEchoValue(I18n.instance().get("不存在工作流实例!"));
return NO_FORWARD;
}
List<NodeInstance> nis = pi.retrieveNodeInstances();
Map<String, NodeInstance> nodeIMap = new HashMap<String, NodeInstance>();
for (Iterator<NodeInstance> it = nis.iterator(); it.hasNext();) {
NodeInstance ni = it.next();
if (nodeIMap.get(ni.getNode().getObjUid()) == null) {
nodeIMap.put(ni.getNode().getObjUid(), ni);