cmmn-js
cmmn-js copied to clipboard
Cannot import diagram with on part connections in different cases
Steps to reproduce:
- Create the following diagram
- Try to re-import, then the following exception is thrown:
element <cmmn:PlanItem id="PlanItem_1dp82y9" /> referenced by <cmmn:PlanItemOnPart id="PlanItemOnPart_0qu0asc" />#sourceRef not yet drawn
Problem:
The importer tries to draw the OnPart
-connection of the second case while rendering the first case.
Hints:
- this also occurs for
CaseFileOnPart
-connections - see forum post: https://forum.camunda.org/t/error-message-when-trying-to-load-cmmn-model/1562
Having the same issue.. I read here https://forum.camunda.org/t/cmmn-diagram-does-not-open-error-not-yet-drawn/12545/14 that:
In my case, the solution was to remove the extra CasePlanModel. Apparently, CMMN can’t display multiple at once. (...)
but why is that? Why I can't have more than one CasePlanModel, in my case would be useful to do so..
Thanks in advice.