Cannot deploy a Zeebe workflow created in bpmn.io modeler

Hello,

I’m having some troubles with deploying a workflow built using bpmn.io library. To be more specific Zeebe is complaining on some attributes added by bpmn.io - bioc:stroke="#000000" bioc:fill="#ffffff" from xmlns:bioc=“http://bpmn.io/schema/bpmn/biocolor/1.0” namespace (they are added because we use custom colors in our modeler). After removing these all is fine, but I wouldn’t expect that this could cause any deployment problems. I would rather expect that these attributes should be ignored by Zeebe.
Can anyone advise? Probably there should be some way to make Zeebe ignore these attributes or prevent bpmn.io from adding the attributes to XML?

Marcin

Hi @mati76 :wave:

I think that is a current limitation of Zeebe and related to the issue here: java.lang.ClassCastException: class ModelElementInstanceImpl cannot be cast to class BpmnModelElementInstance · Issue #4817 · camunda-cloud/zeebe · GitHub

The same question was posted also here: Cannot deploy a Zeebe workflow created in bpmn.io modeler - Modeler - Forum - bpmn.io

Best regards,
Philipp

Yes, I asked on both forums since the problem seems to be laying between Zeebe and bpmn.io :wink:

Thank you

Regards,
Marcin