jBPM provides an example:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/resources/multipleinstance/multipleinstance.bpmn
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/java/org/jbpm/examples/multipleinstance/MultipleInstanceExample.java
docs: http://docs.jboss.org/jbpm/v5.3/userguide/ch.core-basics.html#d0e1926
-->
VariableName: The name of the variable to contain the current element from the collection. This gives nodes within the composite node access to the selected element.
you should be able to insert <VariableName> into the WM to be evaluated by rules.
In Designer you can specify both the Collection Expression and the Variable Name properties.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community