AnsweredAssumed Answered

DropDown Menu in Activiti 6

Question asked by aoezlem on Dec 11, 2017
Latest reply on Dec 14, 2017 by ryandawson

Hi,

does anybody know how to populate the options of a dropdown menu in Activiti 6 (Community Edition) programmatically?

 

I have a script task which collects data from the database and I'd like to display the result in a following user task within a dropdown menu. I'm able to pass a single parameter from the script task to the user task and display it e.g. in a text field, but failing in displaying a list in a dropdown menu.

 

I've read an article about creating such a form (http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/). The solution provided there is to create a custom type (month) in Java, attaching it to the process engine and then displaying it in the dropdown menu.
However this doesn't seem to be applicable in Activiti 6 (Community Edition).


Does anybody know how to solve this?

Outcomes