signalRef is not loaded to the model

Hi there,

I’m trying to load an existing bpmn diagram where I have a intermediateCatchEvent tag and a signalEventDefinition inside that.

<bpmn2:intermediateCatchEvent id="_0CACC9F5-2927-485E-8122-3E43D2E61F46" drools:bgcolor="#f5deb3" drools:selectable="true" drools:bordercolor="#a0522d" drools:boundaryca="false" name="Ticket Monitor">
      <bpmn2:incoming>_16DC759A-4F5E-4FAF-810C-3520FE30132F</bpmn2:incoming>
      <bpmn2:outgoing>_309DA3AB-E42D-41C0-A1BD-C2038809A586</bpmn2:outgoing>
      <bpmn2:dataOutput id="_0CACC9F5-2927-485E-8122-3E43D2E61F46_pubMessage" name="pubMessage"/>
      <bpmn2:dataOutputAssociation id="_kRBIkFcDEeWF8qZhQW9kJw">
        <bpmn2:sourceRef>_0CACC9F5-2927-485E-8122-3E43D2E61F46_pubMessage</bpmn2:sourceRef>
        <bpmn2:targetRef>activityMsg</bpmn2:targetRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="_kRBIj1cDEeWF8qZhQW9kJw">
        <bpmn2:dataOutputRefs>_0CACC9F5-2927-485E-8122-3E43D2E61F46_pubMessage</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="_kRBIkVcDEeWF8qZhQW9kJw" signalRef="Monitor Service"/>
    </bpmn2:intermediateCatchEvent>

both load fine when I look into the businessObject but for the bpmn2:signalEventDefinition, the signalRef is not loaded. I looked at the https://github.com/bpmn-io/bpmn-moddle/blob/master/resources/bpmn/json/bpmn.json definition and I see signalRef is defined there. I wonder if I’m missing something or if signalRef is not actually supported.

Any clue?

Thanks!

Hi @Angelo_G_Escudero_Vi,

I’ve build an example that handles error events: https://github.com/ingorichtsmeier/camunda-modeler-plugin-connected-elements. I would assume, signal would be the same pattern.

Hope this helps, Ingo