Hi,
When i tried to create process using builder API i see there is no prefix for bpmn element.
It looks to be <‘definitions> …<’/definitions>. But when i tried to create one from modeller it is with prefix <bpmn2:definitions> </bpmn2:definitions>.
So when i try create a simple workflow using builder API and try to edit with modeller and deploy facing invalid xml format issues. Is there a way to define prefix in builder API?
In modeller version it seems to be: There is prefix bpmn: for all the elements. So when i edit the workflow built from builder in modeller and deploy i am facing certain deployment issues. Is there a way to configure prefix there?
Yes i tried that. I got the string output from this statement only. But my only concern is how to manage prefixes. Let say bpmn:definitions vs definitions??
Yes. When i load that in web based modeller and edit, it is adding up some unknown attributes to elements which is causing invalid xml deployment issue.
Actually we use coloring feature as well to highlight elements in red if any of the mandatory configuration is missing for any nodes.
So it looks like without prefix only this issue occurs. To validate this i manually updated the builder output with prefix for all definition tag and all the elements tag then it just deployed fine.
So is there any way or hack to provide prefix to match the tags with web based modeller??