[rules-users] sending string and list of string as parameter in Drools decision table

debchamps majumdar.debarghya at gmail.com
Fri Jul 20 03:31:53 EDT 2012


Hi,
facing a problem with Drools decision table. Need help
I have an action which will take 3 argument The first two are string and the
third one is list. How to handle such cases. The problem is Drools is
thinking all three are String.

Action 
context.setAll($1,$2,$3)

"India","Pakistan",("China","Russia","Cuba")

and there is a function on context class

void setAll(String a,String b, String[] c){

}








--
View this message in context: http://drools.46999.n3.nabble.com/sending-string-and-list-of-string-as-parameter-in-Drools-decision-table-tp4018789.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list