Hi
I have a use case wherein I need to be able to 'delete' or immediately end a subprocess created from a multiinstance loop. I tries using the deleteProcessInstance API in the RuntimeService. This works fine but because the multiInstance loop run sequenctially it doesnt create the remaining subprocesses.
So, suppose I have a list {a,b,c}. And I have a call activity with multiInstanceLoopCharacteristics that takes this list. Now when the first subprocess is created for 'a', I delete that subprocess. This works fine but the subprocesses for 'b' and 'c' are never created.
I have tried using activiti:exclusive="false" and activiti:async="true" for the call activity but the subprocesses still seem to be created parallely. Any help would be appreciated here.
Thanks.