[jboss-user] [jBPM] - Re: How to get Multiple Instances work in jBPM Designer Version: 2.3.0.Final?

Tihomir Surdilovic do-not-reply at jboss.com
Mon Sep 24 20:58:19 EDT 2012


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120924/c44fe8ab/attachment.html 


More information about the jboss-user mailing list