3 Replies Latest reply on Jan 2, 2014 4:21 AM by Maciej Swiderski

    jBPM 6 : Compensation, Transaction and Cancel Event fails to import in Guvnor

    Anindya Saha Newbie

      Hello Experts

      I have been trying to test the Compensation, Transaction and Cancel event features. I am using the process definitions from https://github.com/droolsjbpm/jbpm/tree/master/jbpm-bpmn2/src/test/resources/compensation


      I cannot import any of the example processes in the inbuilt process designer(guvnor) of jbpm-console web application of jbpm6, all are failing with errors that the processes cannot be parsed. I also observed that some of them can be drawn/imported in the new eclipse bpmn2-modeler(http://download.eclipse.org/bpmn2-modeler/updates/kepler/0.2.7/) but there I cannot mention actor or group for human tasks as we do in guvnor. An example file is attached. Moreover when I import these processes in the new eclipse bpmn2-modeler, the corresponding code generated by the bpmn2-modeler is


      <!-- cancel event -->

          <boundaryEvent id="_8" attachedToRef="_2" name="Cancel Event">

            <cancelEventDefinition id="_8-1" />



      The process cannot be parsed. However, on digging class BoundaryEventHandler @org.jbpm.bpmn2.xml I found that there is no switch case for "cancelEventDefinition".


      Our customer, a  large healthcare organization is looking for evaluation whether highly complex BPMN 2.0 feature rich processes can be created or not. Any plan to support these constructs out of the box in jBPM 6?


      A detailed implementation of real-life examples such as https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/resources/compensation/BPMN2-TravelBookingExample.bpm…

      in guvnor and junit tests would help eveyone.


      Suggestion or workaround would be really helpful.