Book a Demo

Author Topic: How to update a bpmn diagram from Camunda 7 by importing it and keeping the link  (Read 9715 times)

xtermik

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
I have a model in Camunda modeler 7 (due to company restrictions). I save it as bpmn or xml file. I import this file into Sparx Enterprise Architect where other analysts prepare other parts of the process model. The import of the file (BPMN diagram) is done correctly the first time. Colleagues bind other business objects (from EA) to this (imported) process. When I edit the diagram in Camunda 7 and try to import (update) it again, it fails. It is imported as a completely new one (the originally imported diagram with already bound business objects is not updated). EA version 16.1.1628 (Build 1628)

Is it possible to update a modified (and once imported) bpmn 2.0 diagram without having to rebind all business objects to it? By importing ... Please help.
« Last Edit: November 10, 2023, 01:44:10 am by xtermik »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
EA will only update existing elements if you import an xmi file with recognisable (for EA) id's.

In this case that will be a challenge.

There are a few options you can take:

- Import the new version of the process (as a new process), and then use a script to move the connections to the new version
- Import the new version in a temporary package, and use a script to update the original process

Geert

xtermik

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Thank you very much for your reply, but I am not so proficient that I could make such a script myself. Could you give me some advice on this matter? Is there any such script that could be used for such purpose? How to run such a script (outside EA or after running)?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Thank you very much for your reply, but I am not so proficient that I could make such a script myself. Could you give me some advice on this matter? Is there any such script that could be used for such purpose? How to run such a script (outside EA or after running)?
In that case, the best advice I can give you is to hire someone that knows how to do that.
It's not a major undertaking for an experienced EA consultant, but it will take you a lot of time if you have to figure out everything yourself.

Geert