Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7682

Add BPMN Compensation to fluent model builder

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.8.0, 7.8.0-alpha1
    • None
    • bpmn model api
    • None

      AT: The fluent builder supports

      • Compensation Activities (they don't have any incoming or outgoing sequence flow!)
      • Compensation Boundary Event
      • Associations between them

      See also:

        This is the controller panel for Smart Panels app

          1. bpmn sample model.png
            bpmn sample model.png
            16 kB
          2. result.bpmn
            14 kB
          3. screenshot-2.png
            screenshot-2.png
            14 kB

            [CAM-7682] Add BPMN Compensation to fluent model builder

            It seems that backward compatibility is broken:

            15:49:49 [ERROR] 7005: org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder: Parameter 1 of 'public org.camunda.bpm.model.bpmn.instance.bpmndi.BpmnEdge createBpmnEdge(org.camunda.bpm.model.bpmn.instance.SequenceFlow)' has changed its type to org.camunda.bpm.model.bpmn.instance.BaseElement
            15:49:49 [ERROR] 7004: org.camunda.bpm.model.bpmn.builder.AbstractBoundaryEventBuilder: In method 'protected void setWaypoints(org.camunda.bpm.model.bpmn.instance.bpmndi.BpmnEdge)' the number of arguments has changed
            

            Job to check: https://ci.camunda.com/jenkins/master/job/7.8-model-api-bpmn-DISTRO/

            Svetlana Dorokhova added a comment - It seems that backward compatibility is broken: 15:49:49 [ERROR] 7005: org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder: Parameter 1 of ' public org.camunda.bpm.model.bpmn.instance.bpmndi.BpmnEdge createBpmnEdge(org.camunda.bpm.model.bpmn.instance.SequenceFlow)' has changed its type to org.camunda.bpm.model.bpmn.instance.BaseElement 15:49:49 [ERROR] 7004: org.camunda.bpm.model.bpmn.builder.AbstractBoundaryEventBuilder: In method ' protected void setWaypoints(org.camunda.bpm.model.bpmn.instance.bpmndi.BpmnEdge)' the number of arguments has changed Job to check: https://ci.camunda.com/jenkins/master/job/7.8-model-api-bpmn-DISTRO/

            Hi svetlana.dorokhova,

            thanks for point us to this errors. I fixed them with d9ef89b6.

            Cheers,
            Sebastian

            Sebastian Menski added a comment - Hi svetlana.dorokhova , thanks for point us to this errors. I fixed them with d9ef89b6 . Cheers, Sebastian

            Finally I used this in my Saga example which got so much easier I could delete a couple of hundred lines of code - hurray!

            Layouting could be a bit improved though - the position of the compensating actions could be a bit changed (see screenshot - green arrow - move a bit in this direction)

            Bernd Ruecker added a comment - Finally I used this in my Saga example which got so much easier I could delete a couple of hundred lines of code - hurray! Layouting could be a bit improved though - the position of the compensating actions could be a bit changed (see screenshot - green arrow - move a bit in this direction)

            ruecker, thanks for your feedback. I created a follow-up issue CAM-8060

            Roman Smirnov added a comment - ruecker , thanks for your feedback. I created a follow-up issue CAM-8060

              thomas.allan Thomas
              ruecker Bernd Ruecker
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: