I tried out modeling CMMN. At some point when moving a discretionary stage the library blows up with
TypeError: Cannot read property 'source' of undefined
This happens only in conjunction with the entry / exit criterions configured according to the diagram shown below.
Test Diagram
diagram (9).cmmn (4.1 KB)
How to Reproduce
Move stage S
to case plan model Plan B
.
Environment
cmmn-js v0.4.0