i have a question regarding BpmnUpdater.
My goal is to create elements outside of a pool.
I believe i already found the reason why this is not working. As stated here, Process Elements outside of a Pool - #2 by barmac
" To make it easier for our users we clearly distinguish between process and collaboration diagrams."
The error occurs in this line:
If there is no pool present the newParent is a “bpmn:Process” and it works, with a pool it’s “bpmn:Collaboration” and it doesnt.
This behaviour is already possible with “bpmn:DataStoreReference”. If i create a DataStoreReference the newParent is always a “bpmn:Process”. How can i achieve this with other elements? Do i have to write somehting like DataStoreReferenceBehaviour? If so any tipps how to start, seems quite complex
To make things simpler these elements wont be connected to anything else! They will only be present outside of a pool, bascially my company wants to visually support diagramms.
Btw i already know this is possible with custom elements, as seen in your example. However i want to be able to export these elements like you do with “bpmn:DataStroreReference”.
As always thank you for your help and time!