Package com.founder.fix.fixflow.core.impl.runtime

Examples of com.founder.fix.fixflow.core.impl.runtime.ProcessInstanceEntity.suspend()


    if(processInstanceImpl.hasEnded()){
      throw new FixFlowException("流程实例已经结束,不能暂停");
    }
   
    //暂停流程实例
    processInstanceImpl.suspend();
 
    try {
      // 持久化实例
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
View Full Code Here


    // 执行处理命令中的开发人员设置的表达式
    runCommandExpression();
   
    //获取流程实例
    ProcessInstanceEntity processInstance=getProcessInstance();
    processInstance.suspend();
    try {
      saveProcessInstance(commandContext);
    } catch (Exception e) {
      // TODO 自动生成的 catch 块
      e.printStackTrace();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.