You can use a multiple-instance node for that. You can see an example here:
https://github.com/esteban-aliverti/JBPM-Samples/tree/master/Multiple-Instance-Node-Samples
Reply to this message by going to Community
Start a new discussion in jBPM at Community