When calling convertToBpmnModel from BpmnJsonConverter, why are BPMN Model attributes not set if a non-empty pool exists?

Hi all,

I’m having trouble exporting my process model to BPMN 2.0 from the flowable-modeler. Whenever I add a pool to the model, set values for attributes like targetNamespace are either reset to their default value or entirely missing from the XML file after export. Debugging this issue has led me to this particular line in BpmnJsonConverter, where the setting of the BPMN model’s targetNamespace is skipped if a non-empty pool is found. I may have missed something since I’m new to flowable, but I was wondering if someone could help me make sense of this.