Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the 
discussion

"Re: How to get Multiple Instances work in jBPM Designer Version: 2.3.0.Final?"

To view the discussion, visit: https://community.jboss.org/message/761234#761234

--------------------------------------------------------------
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/resources/multipleinstance/multipleinstance.bpmn
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/java/org/jbpm/examples/multipleinstance/MultipleInstanceExample.java
 
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 
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
[https://community.jboss.org/message/761234#761234]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to