Ooops, we could not display this diagram!

Hi folks,
I’ve created a cmm with the Camunda Modeler.
After saving and reloading my diagramm, it failed to display my diagram.

Following warnings and errors occured:

[warning] Imported CMMN diagram with 2 warnings
[warning] > no cmmnElement referenced in <cmmndi:CMMNShape id=“EntryCriterion_1rpwez7_di” />
[warning] > no target referenced in <cmmndi:CMMNEdge id=“PlanItemOnPart_00e902f_di” />

[error] failed to import content for file “UseCasesTest.cmmn”
[error] element <cmmn:PlanItem id=“PlanItem_0k87qum” /> referenced by <cmmn:PlanItemOnPart id=“PlanItemOnPart_1dm4u8b” />#sourceRef not yet drawn

I’ve tried to delete the sections via xml, but nothing helped.

Any ideas to recreate my cmm?

Thanks in advance

DerTim

Hi @DerTim

Please post your CMMN diagram xml.

Cheers,
kristin

hi,
I’m trying to create a BPMN model with the Camunda API, but when I go to see the related diagram in Camunda modeler gives me the following error:

Cattura

This is the xml I created:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" exporter="Camunda Modeler" exporterVersion="1.11.3" expressionLanguage="http://www.w3.org/1999/XPath" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" typeLanguage="http://www.w3.org/2001/XMLSchema">
  <bpmn:process id="Process_1" isClosed="false" isExecutable="true" processType="None">
    <bpmn:startEvent id="StartEvent_1" isInterrupting="true" parallelMultiple="false">
      <outgoing xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">StartEvent_1-task1</outgoing>
    </bpmn:startEvent>
    <userTask id="task1" name="User Task" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
      <incoming>StartEvent_1-task1</incoming>
      <outgoing>task1-end</outgoing>
    </userTask>
    <endEvent id="end" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
      <incoming>task1-end</incoming>
    </endEvent>
    <sequenceFlow id="StartEvent_1-task1" sourceRef="StartEvent_1" targetRef="task1" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
    <sequenceFlow id="task1-end" sourceRef="task1" targetRef="end" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"/>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane bpmnElement="Process_1" id="BPMNPlane_1">
      <bpmndi:BPMNShape bpmnElement="StartEvent_1" id="_BPMNShape_StartEvent_2">
        <dc:Bounds height="36" width="36" x="173" y="102"/>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>

Can anyone help me?

Hi @Donato_Savino,

I can’t reproduce the error message. Please check your code whether you have two elements with the id ‘_implicitroot’.
Could you please share your code?

Cheers
kristin

1 Like

Hi Donato_Savino,
I could see bpmndi tags are missing for user task and end task activity, so may be because of that diagram is not displayed.

1 Like