<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Join node 'Gateway' has no type (discriminator)
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/d.y.">Darryl Youngblood</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/625011#625011">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>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</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Changing it back to XOR or AND wouldnt help but if i get this right, using discriminator (/complexGateway) is just not possible atm?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is a simple process where i get this error too:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt; </p><p>&lt;definitions id="Definition"</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; targetNamespace="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; typeLanguage="</span><a class="jive-link-external-small" href="http://www.java.com/javaTypes" target="_blank">http://www.java.com/javaTypes</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; expressionLanguage="</span><a class="jive-link-external-small" href="http://www.mvel.org/2.0" target="_blank">http://www.mvel.org/2.0</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span> BPMN20.xsd"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:g="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools/flow/gpd" target="_blank">http://www.jboss.org/drools/flow/gpd</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:bpmndi="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" target="_blank">http://www.omg.org/spec/BPMN/20100524/DI</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:dc="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" target="_blank">http://www.omg.org/spec/DD/20100524/DC</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:di="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" target="_blank">http://www.omg.org/spec/DD/20100524/DI</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:tns="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;process processType="Private" isExecutable="true" id="com.sample.bpmn.discriminator" name="sample3.b" &gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- nodes --&gt;</p><p>&#160;&#160;&#160; &lt;startEvent id="_1" name="Start" /&gt;</p><p>&#160;&#160;&#160; &lt;endEvent id="_2" name="End" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;terminateEventDefinition/&gt;</p><p>&#160;&#160;&#160; &lt;/endEvent&gt;</p><p><span>&#160;&#160;&#160; &lt;scriptTask id="_5" name="Script1" scriptFormat="</span><a class="jive-link-external-small" href="http://www.java.com/java" target="_blank">http://www.java.com/java</a><span>" &gt;</span></p><p>&#160;&#160;&#160;&#160;&#160; &lt;script&gt;System.out.println("start to 1");&lt;/script&gt;</p><p>&#160;&#160;&#160; &lt;/scriptTask&gt;</p><p><span>&#160;&#160;&#160; &lt;scriptTask id="_6" name="Script4" scriptFormat="</span><a class="jive-link-external-small" href="http://www.java.com/java" target="_blank">http://www.java.com/java</a><span>" &gt;</span></p><p>&#160;&#160;&#160;&#160;&#160; &lt;script&gt;System.out.println("script 3 executed");&lt;/script&gt;</p><p>&#160;&#160;&#160; &lt;/scriptTask&gt;</p><p><span>&#160;&#160;&#160; &lt;scriptTask id="_7" name="Script2" scriptFormat="</span><a class="jive-link-external-small" href="http://www.java.com/java" target="_blank">http://www.java.com/java</a><span>" &gt;</span></p><p>&#160;&#160;&#160;&#160;&#160; &lt;script&gt;System.out.println("gateway 1 to gateway 2");&lt;/script&gt;</p><p>&#160;&#160;&#160; &lt;/scriptTask&gt;</p><p>&#160;&#160;&#160; &lt;complexGateway id="_8" name="Gateway" gatewayDirection="Converging" /&gt;</p><p>&#160;&#160;&#160; &lt;exclusiveGateway id="_9" name="Gateway" gatewayDirection="Diverging" /&gt;</p><p>&#160;&#160;&#160; &lt;scriptTask id="_10" name="Script3" &gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;script&gt;System.out.println("gateway 2 to gateway 1");&lt;/script&gt;</p><p>&#160;&#160;&#160; &lt;/scriptTask&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;!-- connections --&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_6-_2" sourceRef="_6" targetRef="_2" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_1-_5" sourceRef="_1" targetRef="_5" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_9-_6" sourceRef="_9" targetRef="_6" name="to 4" &gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;conditionExpression xsi:type="tFormalExpression" &gt;return false;&lt;/conditionExpression&gt;</p><p>&#160;&#160;&#160; &lt;/sequenceFlow&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_8-_7" sourceRef="_8" targetRef="_7" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_5-_8" sourceRef="_5" targetRef="_8" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_10-_8" sourceRef="_10" targetRef="_8" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_7-_9" sourceRef="_7" targetRef="_9" /&gt;</p><p>&#160;&#160;&#160; &lt;sequenceFlow id="_9-_10" sourceRef="_9" targetRef="_10" name="to 3" tns:priority="1" &gt;</p><p><span>&#160;&#160;&#160;&#160;&#160; &lt;conditionExpression xsi:type="tFormalExpression" language="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools/rule" target="_blank">http://www.jboss.org/drools/rule</a><span>" &gt;eval(true)&lt;/conditionExpression&gt;</span></p><p>&#160;&#160;&#160; &lt;/sequenceFlow&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;/process&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; &lt;bpmndi:BPMNDiagram&gt;</p><p>&#160;&#160;&#160; &lt;bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.discriminator" &gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_1" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="48" y="144" width="48" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_2" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="604" y="269" width="48" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_5" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="144" y="147" width="80" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_6" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="448" y="270" width="80" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_7" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="413" y="155" width="80" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_8" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="268" y="152" width="48" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_9" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="275" y="274" width="48" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNShape bpmnElement="_10" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dc:Bounds x="128" y="231" width="80" height="48" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNShape&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_6-_2" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="488" y="294" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="628" y="293" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_1-_5" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="72" y="168" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="184" y="171" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_9-_6" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="299" y="298" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="488" y="294" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_8-_7" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="292" y="176" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="453" y="179" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_5-_8" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="184" y="171" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="292" y="176" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_10-_8" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="168" y="255" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="292" y="176" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_7-_9" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="453" y="179" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="299" y="298" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;bpmndi:BPMNEdge bpmnElement="_9-_10" &gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="299" y="298" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;di:waypoint x="168" y="255" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/bpmndi:BPMNEdge&gt;</p><p>&#160;&#160;&#160; &lt;/bpmndi:BPMNPlane&gt;</p><p>&#160; &lt;/bpmndi:BPMNDiagram&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;/definitions&gt;</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/625011#625011">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>