I read in the Activiti documentation the following: when the completion expression evaluates to true, all remaining instances are destroyed]/b] and the multi-instance activity ends, continuing the process.
Lets say we have a multi instance loop cardinality of M. My question is: is there a way to complete N of M instances within a Multi Instance task, continue with the process, but the remaining M-N instances WON´T BE DESTROYED so that the completion of those remaining instances may occur or not?
The only we to implement this behaviour would be to add a parallel gateway and signal the other path when a certain amount of multi instance loops have been completed.
thanks for your feedback. I already thought about this way of solving it. But how can I fire that signal while iterating through the multi instance task?