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

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


    // 获取流程实例
    ProcessInstanceEntity processInstanceImpl = processInstanceManager.findProcessInstanceById(processInstanceId);

    // 结束流程实例
    processInstanceImpl.termination();
 
    try {
      // 持久化实例
      processInstanceManager.saveProcessInstance(processInstanceImpl);
    } catch (Exception e) {
View Full Code Here


      throw new FixFlowException("没有找到id为: "+taskId+" 的任务");
    }
   
    ProcessInstanceEntity processInstanceImpl=getProcessInstance();
    //结束流程实例
    processInstanceImpl.termination();
 
    try {
      //持久化实例
      saveProcessInstance(commandContext);
    } catch (Exception e) {
View Full Code Here

    if(StringUtil.isEmpty(parentProcessTokenId)){
      throw new FixFlowException("流程实例没有父流程");
    }
   
    // 终止流程实例
    processInstanceImpl.termination();

    saveProcessInstance(commandContext);

    ProcessInstanceEntity parentProcessInstance = processInstanceImpl.getParentProcessInstance();
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.