Kie-workbench drop-down list using enumeration definition

75 views Asked by At

I am new in the drools , I want to know how can we use Enumeration definition for list of data as drop down in GDST.

I have done the drop down list in GDST by using option "Add condition" but its a static. I need data in drop-down dynamic data.

1

There are 1 answers

0
Nicolas Héron On

Have you looked in the documentation There is a part "External data sources in enumerations"?

'Applicant.region' : (new com.mycompany.DataHelper()).getListOfRegions()

Have a look you have what you need. Of course, you have to package you java code in a maven artefact that you add as a dependency in your kjar drools maven artefact Regards