JBoss Community

Event Based Gateway Split - xml parsing error

created by Tobias Wittur in jBPM - View the full discussion

hi,

 

I am trying to use an event based gateway split. Since oryx is not saving event based splits, I modeled a parallel gateway instead.

I then tried to change the xml manually and execute it with the engine. However, I received an error. See at the bottom:

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/2-627360-17015/411-261/Capture10.PNG

 

The parallel gateway:

<bpmn2:parallelGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging">
  <bpmn2:incoming>_C763BDA9-C7BA-4308-A6B1-746CA4ABE974</bpmn2:incoming>
  <bpmn2:outgoing>_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022</bpmn2:outgoing>
  <bpmn2:outgoing>_847F1835-11D2-4D6E-A06B-FCEB3733DC34</bpmn2:outgoing>
</bpmn2:parallelGateway>

 

The manually changed event based gateway:

 

<bpmn2:eventBasedGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging">
  <bpmn2:incoming>_C763BDA9-C7BA-4308-A6B1-746CA4ABE974</bpmn2:incoming>
  <bpmn2:outgoing>_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022</bpmn2:outgoing>
  <bpmn2:outgoing>_847F1835-11D2-4D6E-A06B-FCEB3733DC34</bpmn2:outgoing>
</bpmn2:eventBasedGateway>

 

The error:

 

Element type "bpmn2:eventBasedGateway" must be followed by either attribute specifications, ">" or "/>".

 

I then erased the 3 red lines:

<bpmn2:eventBasedGateway id="_DF4A4948-3BEF-4E89-869E-8D44E1541900" name="Should be event split" gatewayDirection="Diverging">

  <bpmn2:incoming>_C763BDA9-C7BA-4308-A6B1-746CA4ABE974</bpmn2:incoming>

  <bpmn2:outgoing>_DE06FFCD-C6F8-4F01-8EC8-BCED4B8FC022</bpmn2:outgoing>

  <bpmn2:outgoing>_847F1835-11D2-4D6E-A06B-FCEB3733DC34</bpmn2:outgoing>

</bpmn2:eventBasedGateway>

 

The parsing works, but of course the connections to the nodes following nodes are gone :( .

 

How could I go on from here?

 

Best regards,

 

Tobias


Reply to this message by going to Community

Start a new discussion in jBPM at Community