sartography / bpmn-js-spiffworkflow

A BPMN.js extension to improve working with SpiffWorkflow - the python BPMN engine.
MIT License
19 stars 5 forks source link

Multi-Instance Output Element Removed when Reopened #72

Closed danfunk closed 1 week ago

danfunk commented 4 months ago

If you open and then save this example of a Multi-Instance task, it will remove the Output Element in the Multi-Instance section of the properties panel. You must re-add ‘c’ to this every time the process is opened and saved or it will start to fail. It is clear that adding it and saving it works, but for some reason, it gets removed on re-opening it.

theaubmov commented 4 months ago

I tried to reproduce the bug multiple times, but the input and output elements are not being deleted on opening the process and saving. One observation I made is that the loop cardinality is removed on changing the input collection, and vice versa, which I think is not a bug as we can't allow both.