Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.jbpm.core.node
Class ForeachFork

java.lang.Object
  extended by org.nuxeo.ecm.platform.jbpm.core.node.ForeachFork
All Implemented Interfaces:
Serializable, ActionHandler

public class ForeachFork
extends Object
implements ActionHandler

A jBPM node that implements foreach functionalities. It creates a child token for each item of the list and add the item to the child token. To use it:


 <action class="org.nuxeo.ecm.platform.jbpm.core.node.ForeachFork">
   <var>participant</var>
   <list>participants</list>
 </action>
 

The list variable is the name of the list in the process instance. The var variable is the name that will be given to the item in the child token.

Author:
arussel
See Also:
Serialized Form

Constructor Summary
ForeachFork()
           
 
Method Summary
 void execute(ExecutionContext executionContext)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeachFork

public ForeachFork()
Method Detail

execute

public void execute(ExecutionContext executionContext)
Specified by:
execute in interface ActionHandler

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.