sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
66 stars 43 forks source link

Transform Bamboo Process model to process group #881

Closed harmeet-status closed 1 month ago

harmeet-status commented 8 months ago

Split the process model with multiple bpmn files into the process group with process model per bpmn file https://dev.app.spiff.status.im/process-models/misc:service-tests:bamboo

burnettk commented 8 months ago

are the bpmn files used as call activities? i guess that would seem like a reasonable reason to have multiple bpmn files in the same process model. we should also be careful (test before and after) about moving stuff that is the target of a call activity to make sure callers don't break.

harmeet-status commented 8 months ago

Yes they are call activities. This is a shortcut to having to create a new process model BPMN file and then copy things over which is a bit annoying.

The way I see this working is that after selecting a bunch of BPMN elements in the BPMN editor, there is a button which lets you create a new process model using the selected items. At this point, it does not delete the existing elements you have selected, you would come back and delete these once you are happy with the new process model.

danfunk commented 3 months ago

https://github.com/nikku/bpmn-js-copy-paste-example - is an eample of how to implement copy and paste in BPMN IO - this would allow you to select items or groups of items and copy them from one window to another window - one instance of BPMN.io to another instance - which would make authoring a BPMN process much easier.