AnsweredAssumed Answered

Multiple Select Form Field?

Question asked by mgriffith on Aug 1, 2011
Latest reply on Aug 6, 2011 by mgriffith
Hi all, I'm trying to use an HTML select that allows multiple values in the start form of a workflow.  It appears that when Activiti grabs the HTML form value, it doesn't get all the selected values. The HTML form element looks like this:

<select name="group_list" id="group_list"  multiple="multiple" size="10">
          <option value="user">User</option>
          <option value="manager">Manager</option>
          <option value="admin">Adminstrator</option>
          <option value="engineering">Engineering</option>
          <option value="accountancy">Accountancy</option>

However, in my JavaDelegate, the only available value passed as a process variable is the value of the option selected first in the select box. It seems that if this is handled by a servlet, it is performing request.getParameter(…) instead of  requests.getParameterValues(…)

Is this an Activiti bug, or am I going about this in the wrong way?

Thanks in advance,