Package org.eclipse.bpmn2

Examples of org.eclipse.bpmn2.StartEvent.enter()


    if(baseElement instanceof FlowNode){
     
      FlowNode flowNode= (FlowNode)baseElement;
      ExecutionContext executionContext=ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(token);
      //让令牌进入节点开始走流程
      flowNode.enter(executionContext);
     
    }else{
     
    }
    commandContext.getProcessInstanceManager().saveProcessInstance(processInstance);
View Full Code Here


      FlowNode toFlowNode=executionContext.getToFlowNode();
     
      LOG.debug("==执行跳转机制,跳转目标: {}({}),离开节点: {}({}),令牌号: {}({}).",toFlowNode.getName(),toFlowNode.getId(), this.getName(),this.getId(),token.getName(),token.getId());
     
     
      toFlowNode.enter(executionContext);
      return;
    }
   
   
    //定义可通过线条集合
View Full Code Here

    */
    TokenEntity token=new TokenEntity(executionContext.getToken(), this.name);
    token.setSubProcessRootToken(true);
    StartEvent startEvent=(StartEvent)getStartElement();
    ExecutionContext executionContextSub=ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(token);
    startEvent.enter(executionContextSub);
   
   
  }
 
 
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.