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

Add BPMN Compensation to fluent model builder

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.0, 7.8.0-alpha1
    • Component/s: bpmn model api
    • Labels:
      None

      Description

      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:

      1. result.bpmn
        14 kB
        Bernd Rücker
      1. bpmn sample model.png
        16 kB
      2. screenshot-2.png
        14 kB

        Issue Links

          Activity

          Hide
          svetlana.dorokhova 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/

          Show
          svetlana.dorokhova 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/
          Hide
          sebastian.menski Sebastian Menski added a comment -

          Hi Svetlana Dorokhova,

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

          Cheers,
          Sebastian

          Show
          sebastian.menski Sebastian Menski added a comment - Hi Svetlana Dorokhova , thanks for point us to this errors. I fixed them with d9ef89b6 . Cheers, Sebastian
          Hide
          ruecker Bernd Rücker 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)

          Show
          ruecker Bernd Rücker 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)

            People

            • Assignee:
              thomas.allan Thomas Allan
              Reporter:
              ruecker Bernd Rücker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: