Comments (2)
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.
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)
- Bump moddle version
- Add more attachment points to the pools. Currently there are 4 and it needs more.
- Double click to change name on elements change
- Move the data objects / stores to the bottom of the toolbar.
- Click on [+] opens the subprocess SVG
- Fix name flashing in diagram
- Move documentation to its own accordion
- Add button to open documentation editor in modal
- Unable to select node color after reset
- Subprocess SVG preview is cut off
- Subprocess elements do not have the additional attachment points
- Upgrade to Cypress 6.2.0
- Errors when I change the type of control in the modeler HOT 1
- It is not possible create/save two processes with gateways inside a modeler
- It is not possible save the process with data object HOT 1
- Switching Task Types Adds Errors HOT 1
- Merge Flows in Crown HOT 1
- Tasks only capture a single data input and data output association at a time
- bug in submit button (screen)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modeler.