Custom bpmn tag in xml diagram

Hello everyone. I’m new with bpmn-js and i’m trying to use it in Angular. I’m trying to create a custom element and export the diagram with a custom bpmn tag in the outcoming xml. (for example sth like this: bpmn:workorder)
Is it possible to do so?

It is possible but not recommended at all, as it breaks the document (it won’t be valid BPMN 2.0 XML anymore).

Read more about custom elements and the recommended way to custom data in our custom elements example.

1 Like