2930313233343536373839
WFEngine engine = WFEngineFactory.getWFEngine(); ProcessInstance pi = null; try { pi = engine.loadProcessInstance(ptPI.getCorrInstance().getUid()); } catch (WFException e2) { // TODO Auto-generated catch block e2.printStackTrace(); }
3132333435363738394041
6364656667686970717273
return NO_FORWARD; } } else { ProcessInstance pi = null; try { pi = wfi.loadProcessInstance(wfUid); NodeInstance ni = pi.getFirstActivityNode(); ni.perform(); } catch (WFException e) { e.printStackTrace(); this.setEchoValue(e.getLocalizedMessage());
3233343536373839404142
WFEngine wfi = WFEngineFactory.getWFEngine(); if(wfUid != null){ ProcessInstance pi = null; try { pi = wfi.loadProcessInstance(wfUid); pi.withDrawStartNode(); } catch (WFException e) { e.printStackTrace(); this.setEchoValue(e.getLocalizedMessage()); return NO_FORWARD;