Darryl Youngblood [http://community.jboss.org/people/d.y.] created the discussion
"Re: Join node 'Gateway' has no type (discriminator)" To view the discussion, visit: http://community.jboss.org/message/625011#625011 -------------------------------------------------------------- I'm using the eclipse editor and changing the type of the gateway to a discriminator and get this "Join node 'Gateway' has no type" error Changing it back to XOR or AND wouldnt help but if i get this right, using discriminator (/complexGateway) is just not possible atm? This is a simple process where i get this error too: <?xml version="1.0" encoding="UTF-8"?> <definitions id="Definition" targetNamespace=" http://www.jboss.org/drools http://www.jboss.org/drools" typeLanguage=" http://www.java.com/javaTypes http://www.java.com/javaTypes" expressionLanguage=" http://www.mvel.org/2.0 http://www.mvel.org/2.0" xmlns=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" xmlns:g=" http://www.jboss.org/drools/flow/gpd http://www.jboss.org/drools/flow/gpd" xmlns:bpmndi=" http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc=" http://www.omg.org/spec/DD/20100524/DC http://www.omg.org/spec/DD/20100524/DC" xmlns:di=" http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI" xmlns:tns=" http://www.jboss.org/drools http://www.jboss.org/drools"> <process processType="Private" isExecutable="true" id="com.sample.bpmn.discriminator" name="sample3.b" > <!-- nodes --> <startEvent id="_1" name="Start" /> <endEvent id="_2" name="End" > <terminateEventDefinition/> </endEvent> <scriptTask id="_5" name="Script1" scriptFormat=" http://www.java.com/java http://www.java.com/java" > <script>System.out.println("start to 1");</script> </scriptTask> <scriptTask id="_6" name="Script4" scriptFormat=" http://www.java.com/java http://www.java.com/java" > <script>System.out.println("script 3 executed");</script> </scriptTask> <scriptTask id="_7" name="Script2" scriptFormat=" http://www.java.com/java http://www.java.com/java" > <script>System.out.println("gateway 1 to gateway 2");</script> </scriptTask> <complexGateway id="_8" name="Gateway" gatewayDirection="Converging" /> <exclusiveGateway id="_9" name="Gateway" gatewayDirection="Diverging" /> <scriptTask id="_10" name="Script3" > <script>System.out.println("gateway 2 to gateway 1");</script> </scriptTask> <!-- connections --> <sequenceFlow id="_6-_2" sourceRef="_6" targetRef="_2" /> <sequenceFlow id="_1-_5" sourceRef="_1" targetRef="_5" /> <sequenceFlow id="_9-_6" sourceRef="_9" targetRef="_6" name="to 4" > <conditionExpression xsi:type="tFormalExpression" >return false;</conditionExpression> </sequenceFlow> <sequenceFlow id="_8-_7" sourceRef="_8" targetRef="_7" /> <sequenceFlow id="_5-_8" sourceRef="_5" targetRef="_8" /> <sequenceFlow id="_10-_8" sourceRef="_10" targetRef="_8" /> <sequenceFlow id="_7-_9" sourceRef="_7" targetRef="_9" /> <sequenceFlow id="_9-_10" sourceRef="_9" targetRef="_10" name="to 3" tns:priority="1" > <conditionExpression xsi:type="tFormalExpression" language=" http://www.jboss.org/drools/rule http://www.jboss.org/drools/rule" >eval(true)</conditionExpression> </sequenceFlow> </process> <bpmndi:BPMNDiagram> <bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.discriminator" > <bpmndi:BPMNShape bpmnElement="_1" > <dc:Bounds x="48" y="144" width="48" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_2" > <dc:Bounds x="604" y="269" width="48" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_5" > <dc:Bounds x="144" y="147" width="80" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_6" > <dc:Bounds x="448" y="270" width="80" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_7" > <dc:Bounds x="413" y="155" width="80" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_8" > <dc:Bounds x="268" y="152" width="48" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_9" > <dc:Bounds x="275" y="274" width="48" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="_10" > <dc:Bounds x="128" y="231" width="80" height="48" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="_6-_2" > <di:waypoint x="488" y="294" /> <di:waypoint x="628" y="293" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_1-_5" > <di:waypoint x="72" y="168" /> <di:waypoint x="184" y="171" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_9-_6" > <di:waypoint x="299" y="298" /> <di:waypoint x="488" y="294" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_8-_7" > <di:waypoint x="292" y="176" /> <di:waypoint x="453" y="179" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_5-_8" > <di:waypoint x="184" y="171" /> <di:waypoint x="292" y="176" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_10-_8" > <di:waypoint x="168" y="255" /> <di:waypoint x="292" y="176" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_7-_9" > <di:waypoint x="453" y="179" /> <di:waypoint x="299" y="298" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="_9-_10" > <di:waypoint x="299" y="298" /> <di:waypoint x="168" y="255" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions> -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/625011#625011] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
