Package org.activiti.bpmn.model

Examples of org.activiti.bpmn.model.FlowElementsContainer


      if (target == null) {
        addError(errors, Problems.SEQ_FLOW_INVALID_TARGET, process, sequenceFlow, "Invalid target for sequenceflow");
      }
     
      if (source != null && target != null) {
        FlowElementsContainer sourceContainer = process.getFlowElementsContainerRecursive(source.getId());
        FlowElementsContainer targetContainer = process.getFlowElementsContainerRecursive(target.getId());
       
        if (sourceContainer == null) {
          addError(errors, Problems.SEQ_FLOW_INVALID_SRC, process, sequenceFlow, "Invalid source for sequenceflow");
        }
        if (targetContainer == null) {
View Full Code Here


        EventDefinition eventDefinition = endEvent.getEventDefinitions().get(0);
       
        // Error end event
        if (eventDefinition instanceof CancelEventDefinition) {
         
          FlowElementsContainer parent = process.findParent(endEvent);
          if (!(parent instanceof Transaction)) {
            addError(errors, Problems.END_EVENT_CANCEL_ONLY_INSIDE_TRANSACTION, process, endEvent, "end event with cancelEventDefinition only supported inside transaction subprocess");
          }
         
        }
View Full Code Here

TOP

Related Classes of org.activiti.bpmn.model.FlowElementsContainer

Copyright © 2018 www.massapicom. 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.