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

Feature/multi instance task panel #27

Closed essweine closed 1 year ago

essweine commented 1 year ago

This PR adds support for multiinstance tasks.

There's a lot of repetitive code in the properties handlers (and much of it is directly copied from bpmn-js=properties-panel since it can't be easily overridden.

I also found had to intercept the parser to prevent unresolvable references from being removed.

TBH, I haven't tested this as thoroughly as I should, but it does seem to generate the expected output in the cases I've looked at.