-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
BPMN supportSomething about the BPMN specification that the lib is already supporting or will supportSomething about the BPMN specification that the lib is already supporting or will supportenhancementNew feature or requestNew feature or request
Milestone
Description
Describe the bug
When modelling the data-flow perspective in BPMN you use data objects. Although they are correctly shown in the Camunda Modeler, bpmn-visualization will show warnings in the console like e.g.
bpmn-visualization.esm.js:3023 [bv-parser] Edge json deserialization: unable to find bpmn element with id DataOutputAssociation_0yl0bbm
and doesn't display the data objects nor their associations.
To Reproduce
Steps to reproduce the behavior:
- Create a bpmn process model containing at least one data-object.
Example:

- integrate the process model in a web application like so:
const xml = "[the bpmn model xml]"
const bpmnVisualization = new BpmnVisualization({container: 'bpmnContainer', navigation: {enabled: true}})
bpmnVisualization.load(xml)
- observe that the data object(s) is not displayed and warnings are printed in the console
Expected behavior
I expect that data objects should be displayed.
Screenshots
In camunda modeler:

Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome Version 117.0.5938.134
- Version 0.41.0
Additional context
I'm using bpmn-visualization in a react application. But the problem should be independent of a specific framework.
blutorange
Metadata
Metadata
Assignees
Labels
BPMN supportSomething about the BPMN specification that the lib is already supporting or will supportSomething about the BPMN specification that the lib is already supporting or will supportenhancementNew feature or requestNew feature or request

