Elements like nodes, variables and the process itself do support adding metadata in the underlying Java model. This information is however not stored in the BPMN2 XML representation, so is lost upon save / reload.
Add a custom extension to give users the ability to store metadata as part of the process BPMN2 XML. The following constraints currently apply:
- the metadata must be of type String
- the metadata name must start with "custom" (to distinguish it from the rest)
Metadata on the process, nodes and variables (following the above constraints) will now be persisted as part of the BPMN2 XML.