BPMN diff Uncaught Error: functions are not supported


#1

Hi,
I am using the https://demo.bpmn.io/diff and when I upload first and then second diagram I am getting this error.

Uncaught Error: functions are not supported
at o (app.min.js:7)
at r.process (app.min.js:7)
at i.process (app.min.js:7)
at d.diff (app.min.js:7)
at i.createDiff (app.min.js:2)
at i.diff (app.min.js:2)
at Function.t.exports.diff (app.min.js:2)
at h (app.min.js:2)
at p (app.min.js:2)
at n (app.min.js:2)

Could you please help me with this?
Thanks,
Lukas


#2

Seems like certain BPMN elements are not supported by our diffing demo.

Do you mind sharing the diagrams you’re trying to diff? Maybe you could also try to trim down the diagrams to the actual elements that cause the issue.


#3

Hi,
I drilled down the diagram and I have found that the execution listener is causing the error.
Here is a sample diagram, just with an “empty” execution listener on a start event. .diagram_1.bpmn (1.1 KB)
Best regards,
Lukas


#4

Thanks for your test diagram. It will help us to reproduce and fix the issue.

I’ve created a bug report in the related downstream project.