3 Replies Latest reply on Feb 24, 2006 3:13 PM by Michael Holtzman

    Need help with action config-type field and List property

    Michael Holtzman Newbie

      I have an action that requires a List property to be populated in the process definition.

      <node name="InitializeVariables">
       <action class="com.olf.workflowmgr.action.VariableInitActionHandler">
       <transition name="StartProcess" to="Summary" />

      And the corresponding action class:

      public class VariableInitActionHandler implements ActionHandler {
       private static final long serialVersionUID = 1L;
       private List VarList;
       public void execute(ExecutionContext executionContext) {
       log.info("Processing variables...");
       for (Iterator it = VarList.iterator(); it.hasNext();) {
       String varDef = (String)it.next();
       } // execute
       private static final Log log = LogFactory.getLog(VariableInitActionHandler.class);

      My list (VarList) is not being set. Can someone post an example of setting a multi-valued field from the process definition? Thanx.