Migration of JBPM Processes from v5.5 to 6 and finally to 7

强颜欢笑 提交于 2019-12-13 03:54:25

问题


I need to migrate my project with drools and JBPM 5.5 to 6 and finally to 7.15. I tried importing my workflow bpmn file (bpmn2 behavior) and it could not work properly. I am using eclipse BPMN plugin. We have made extensive use of Signal events using BPMN process editor. Looking at the xml, they are configured as intermediateCatchEvent. However the same dont work in JBPM6 or later versions where the signal events need to be Start event with type as Signal. So, when I manually deleted the node and changed it to Start event of type Signal, the flow worked. This was a manual task.

I need help understanding 1. Is there an automated tool/guide where all such issues related to bpmn migration which was built in earlier versions using BPMN Process Editor can be migrated to BPMN Modeller supported in v6 and above 2. If there is no automated way (or even otherwise), what are the steps for migrating running process instances in these version upgrades 3. We are not using HumanTasks by JBPM as we have built our own task handler, in this case, are there any model changes that we need to care about?

I have been searching for upgrade paths for quite some time now, however no documentation is extensive to help me end to end here

Regards, Richa

BEFORE:

<bpmn2:intermediateCatchEvent id="_8" name="Test">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[Test]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_3" signalRef="Signal_1"/>
    </bpmn2:intermediateCatchEvent>


AFTER: 

  <bpmn2:signal id="Signal_2" name="Test"/>

<bpmn2:startEvent id="StartEvent_2" name="Start Event 2">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[Start Event 2]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_5" signalRef="Signal_2"/>
    </bpmn2:startEvent>

来源:https://stackoverflow.com/questions/54129584/migration-of-jbpm-processes-from-v5-5-to-6-and-finally-to-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!