|
Re: Change Process ID, BPMN2 elements ID [message #1729556 is a reply to message #1729502] |
Fri, 15 April 2016 13:07 |
|
Changing the ID of BPMN2 elements is NOT a good idea since this could corrupt the model. IDs are used to resolve object references during loading; if you change an ID, all references to that object can no longer be resolved the next time the model is loaded. There is also the possibility of ID collisions - two or more objects with the same ID.
May I ask why you want to do this? Can you provide a valid use case for this functionality?
|
|
|
|
Re: Change Process ID, BPMN2 elements ID [message #1729973 is a reply to message #1729605] |
Wed, 20 April 2016 15:48 |
|
Still, it's a bad ad idea to allow users to change object IDs because of the reasons I already mentioned. So far there is no provision in the graphical editor to set the object IDs, but if it helps you can display them by setting the "Show ID attribute for BPMN2 Elements" checkbox in User Preferences->BPMN2->Editor->Behavior.
You can still use an XML editor to change these IDs, but be sure to change any references to them as well.
[Updated on: Wed, 20 April 2016 15:48] Report message to a moderator
|
|
|
Re: Change Process ID, BPMN2 elements ID [message #1730398 is a reply to message #1729973] |
Mon, 25 April 2016 12:54 |
Andras Weintrauth Messages: 4 Registered: April 2016 |
Junior Member |
|
|
Thanks for your answer, Robert! Yes, we've done "the trick" with an XML editor, and changed the IDs consistently. Yes, its risky. But as I mentioned above, working with auto generated IDs "UserTask_1, ..." in our application configuration is sticky as well. The modeler could make it safer, eg. enable setting them by the user when creating new elements. We found other tools, and some of them has this feature, but lack in others, so the Eclipse BPMN Modeler is the best tool for us so far.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.00458 seconds