AnsweredAssumed Answered

Activiti Modeler - Subprocess loops

Question asked by martin11175 on Apr 2, 2014
Latest reply on Apr 7, 2014 by martin11175
Hey there!

I'm relatively new to Activiti and BPMN in general and am currently working on making a relatively simple task whereby a Java service gets a list of items and then feeds these into a subprocess loop where the items are worked on individually.

This works perfectly when feeding into individual tasks but I can't figure it out when working with a subprocess as in the Activiti Modeler there aren't any options for collections and element variables or any ways to define the end of a "standard" loop.
I've tried getting the subprocess start element to use the loopCounter to iterate through a collection as part of the form properties, but they don't seem to get instantiated.
Is there something I'm missing, or does this have to be coded in XML (I have seen examples around) as opposed to using the modeler?

Any help would be greatly appreciated.

Thanks,

Martin

Outcomes