//创建流程实例
IProcessInstance processInstance = workflowSession.createProcessInstance(
"LeaveApplicationProcess",CurrentUserAssignmentHandler.APPLICANT);
//运行流程实例
processInstance.run();
return processInstance;
} catch (EngineException ex) {
Logger.getLogger(LeaveApplicationTester.class.getName()).log(Level.SEVERE, null, ex);
} catch (KernelException ex) {