How to add BPMN field or properties to XML

Please do not necrobump old topics. Instead link to this thread from new topic.