<!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;">
    Event Based Gateway Split - xml parsing error
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/tob1as">Tobias Wittur</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/627360#627360">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>hi, </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am trying to use an event based gateway split. Since oryx is not saving event based splits, I modeled a parallel gateway instead.</p><p>I then tried to change the xml manually and execute it with the engine. However, I received an error. See at the bottom:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/2-627360-17015/Capture10.PNG"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/2-627360-17015/411-261/Capture10.PNG </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The parallel gateway:</p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag">&lt;bpmn2:parallelGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging"&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:incoming&gt;</span>_C763BDA9-C7BA-4308-A6B1-746CA4ABE974<span class="jive-xml-tag">&lt;/bpmn2:incoming&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:outgoing&gt;</span>_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022<span class="jive-xml-tag">&lt;/bpmn2:outgoing&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:outgoing&gt;</span>_847F1835-11D2-4D6E-A06B-FCEB3733DC34<span class="jive-xml-tag">&lt;/bpmn2:outgoing&gt;</span>
<span class="jive-xml-tag">&lt;/bpmn2:parallelGateway&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The manually changed event based gateway:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag">&lt;bpmn2:eventBasedGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging"&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:incoming&gt;</span>_C763BDA9-C7BA-4308-A6B1-746CA4ABE974<span class="jive-xml-tag">&lt;/bpmn2:incoming&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:outgoing&gt;</span>_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022<span class="jive-xml-tag">&lt;/bpmn2:outgoing&gt;</span>
&#160; <span class="jive-xml-tag">&lt;bpmn2:outgoing&gt;</span>_847F1835-11D2-4D6E-A06B-FCEB3733DC34<span class="jive-xml-tag">&lt;/bpmn2:outgoing&gt;</span>
<span class="jive-xml-tag">&lt;/bpmn2:eventBasedGateway&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The error:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #ff0000;">Element type "bpmn2:eventBasedGateway" must be followed by either attribute specifications, "&gt;" or "/&gt;".</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #ff0000;"><span style="color: #000000;">I then erased the 3 red lines:</span><br/></span></p><p>&lt;bpmn2:eventBasedGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging"&gt;</p><p><span style="color: #ff0000;">&#160; &lt;bpmn2:incoming&gt;_C763BDA9-C7BA-4308-A6B1-746CA4ABE974&lt;/bpmn2:incoming&gt;</span></p><p><span style="color: #ff0000;">&#160; &lt;bpmn2:outgoing&gt;_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022&lt;/bpmn2:outgoing&gt;</span></p><p><span style="color: #ff0000;">&#160; &lt;bpmn2:outgoing&gt;_847F1835-11D2-4D6E-A06B-FCEB3733DC34&lt;/bpmn2:outgoing&gt;</span></p><p>&lt;/bpmn2:eventBasedGateway&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The parsing works, but of course the connections to the nodes following nodes are gone <span> :( </span>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>How could I go on from here?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Best regards,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Tobias</p><p><span style="color: #ff0000;"><br/></span></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/627360#627360">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>