cancel
Showing results for 
Search instead for 
Did you mean: 

Model a sequential sub-process or task on activiti-explorer

silverhoof1
Champ in-the-making
Champ in-the-making
Is that currently impossible to model a process with sequential multiple instance sub-process in activiti explorer?
First when I choose MI Sequential property, there's no place to set the loop collection like multiple instance task.
After I save the model and export the bpmn file, I found that isSequential="false" in the multiInstanceLoopCharacteristics instead of true as it should be.

I tried to model the process in eclipse designer, the bpmn file generated by designer is correct, but after import to the activiti-explorer and deploy it, the process bpmn file is wrong again with isSequential set to false.

Is that a bug? If it is, I seriously need a fix!
5 REPLIES 5

frederikherema1
Star Contributor
Star Contributor
Yes, that's indeed a bug in the Explorer. I'll add a fix to the current master to make the isSequential="false" when "MI Parrallel" is selected.

Setting the collection, however, is possible using the attribute "Collection (Multi-instance)" in 5.14. Not sure about previous versions though, but I'm quite sure that property is there also.

frederikherema1
Star Contributor
Star Contributor
Seems that the actual property determining the isSequential of the Multi instance is in fact "Sequential (Multi-instance)". The "MI Parallel" type is just used in the view to render the right icon. As a workaround, you can currently use the "Sequential (Multi-instance)" property. I'll make sure the actual "MI Parallel" is taken into account when exporting the process.

frederikherema1
Star Contributor
Star Contributor
See my fix on master for this issue, released in 5.15:

https://github.com/Activiti/Activiti/commit/ab5a4f84c65a5008b85949a4d32b1a2685d2fcf9

Workaround for 5.14 and before, see my comments above.

How can I get the fix?
Where can I download 5.15 version?

frederikherema1
Star Contributor
Star Contributor
5.15 is scheduled for 15the of february. We haven't published a SNAPSHOT version recently, but you can easily build a version from the sources. We use maven as a build-system…