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...
This topic has been locked.
1 reply Latest Post - 2012-10-02T09:19:41Z by ArjanBas
Pinned topic How to create a dropdown in a workflow
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-02T09:19:41Z at 2012-10-02T09:19:41Z by ArjanBas
ArjanBas 270000EYM71 PostACCEPTED ANSWER
Re: How to create a dropdown in a workflow2012-10-02T09:19:41Z in response to KOBRETIBy 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.