Open diegonc opened 3 years ago
@diegonc Since the notification email from GitHub is in my spam list, I did not receive the issue notification in time. I use UUID as the key of the process to keep it consistent with the id of the model, but this is just an idea of mine. This is currently a bug. You can completely customize the key and name in the process.
https://github.com/lyuxiaobo/lemon-workflow/blob/cb057e517f7dac1c083da9f2fad3e81d207bb2cc/lemon-workflow-frontend/package/process-designer/ProcessDesigner.vue#L362
When creating a new BPMN model the code above will use the model id (
newId
, a UUID) as the key parameter to the blank xml function. It in turns uses it as an id for the bpmn2:process element and its reference from BPMNPlane.This results in a modeller that doesn't allow to drop elements to its canvas.
The patch below makes the modeller work again.
But I don't know if UUID are used elsewhere.
Here is the relevant ticket in bpmn-io ( https://github.com/bpmn-io/moddle-xml/issues/41 )