Maybe my question is stupid, but a can't see a way to do it, so I need some help...
I want to make a dropdown in a workflow step, so the user can choose the value of a field by selecting, not by typing...
How do I do that? I can't find anything in the manuals, nor I can see a way to define it in Process Designer... The closest thing I see is to define an array, but it doesn't do the same job...
ArjanBas 270000EYM71 Post
Re: How to create a dropdown in a workflow2012-10-02T09:19:41ZThis is the accepted answer. This is the accepted answer.By default a dropdown is not supported. (Only for the response). To create a dropdown you have to create a stepprocessor (lot of work). The quick and dirty way is to edit the stylesheet WEB-INF/xsl/table/TaskParameterModule.xsl. This is the stylesheet that displays the workflowparameters. If you wants a dropdown for the workflow parameters 'country' you should add the following lines to the template displayDataField (under Display value) :
<xsl:when test="$paramName = 'country'">
By adding this the parameter with the name country will be shown as a dropdown.