Open
Description
Describe the Bug
Reported as camunda/camunda-modeler#3984
When adding token simulation to the modeler, I can model non spec-compliant diagrams, which are not possible without the plugin.
Steps to Reproduce
Try to model the above diagram
Expected Behavior
Environment
- Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
- OS: [e.g. Windows 7]
- Library version: [e.g. 2.0.0]
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
sombrek commentedon Aug 18, 2024
I found that EventBasedGatewayBehavior.js (token-simulation) overrides EventBasedGatewayBehavior.js (bpmn-js). The latter removes sequence flows disallowed by the spec.
nikku commentedon Aug 18, 2024
This should make it easy for us to fix. Thanks for the root causing.
sombrek commentedon Aug 23, 2024
I discovered more examples before I noticed your reference to the public API bug.
BoundaryEventBehavior
, so boundary events of receiving tasks are not removed when they become target of an event gateway.MessageFlowBehavior
, so message flows pointing to elements within a pool don't reconnect to a pool that's being collapsed.Demo
barmac commentedon Aug 23, 2024
Thanks for reporting. I think we should look into this.