Git Product home page Git Product logo

Comments (2)

vehikl-jacare avatar vehikl-jacare commented on July 17, 2024

This happens because the boundary event is silently duplicated in the top pool, but orphaned from the correct parent node.

We then end up with two identical boundary event definitions in the diagram, for example, node_4:

<?xml version="1.0" encoding="UTF-8"?>
<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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pm="http://processmaker.com/BPMN/2.0/Schema.xsd" id="Definitions_03dabax" targetNamespace="http://bpmn.io/schema/bpmn" exporter="ProcessMaker Modeler" exporterVersion="1.0">
  <bpmn:process id="Process_1" isExecutable="true">
    <bpmn:boundaryEvent id="node_4" name="Boundary Conditional Event" attachedToRef="node_3">
      <bpmn:conditionalEventDefinition>
        <bpmn:condition xsi:type="bpmn:tFormalExpression"></bpmn:condition>
      </bpmn:conditionalEventDefinition>
    </bpmn:boundaryEvent>
  </bpmn:process>
  <bpmn:collaboration id="collaboration_0">
    <bpmn:participant id="node_1" name="Pool" processRef="Process_1" />
    <bpmn:participant id="node_2" name="Pool" processRef="process_2" />
  </bpmn:collaboration>
  <bpmn:process id="process_2">
    <bpmn:task id="node_3" name="Form Task" pm:assignment="requester" />
    <bpmn:boundaryEvent id="node_4" name="Boundary Conditional Event" attachedToRef="node_3">
      <bpmn:conditionalEventDefinition>
        <bpmn:condition xsi:type="bpmn:tFormalExpression"></bpmn:condition>
      </bpmn:conditionalEventDefinition>
    </bpmn:boundaryEvent>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <!-- diagram details omitted from the snippet -->
</bpmn:definitions>

from modeler.

vehikl-jacare avatar vehikl-jacare commented on July 17, 2024

This happens because we set the pool on the add-node event, and the fix is to set the pool to the parent node's pool reference during the creation of the boundary event.

from modeler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.