Just like in Java:
List list = new ArrayList();
list.add( ... );
$var.functionName("Reject", "Reject", list );
hi
i have a function
public void functionName(String str1, String str2, List list1)
how do you build a List on the fly and pass it as parameter?
when
$var : ClassName()
... condn ...
then
$var.functionName("Reject", "Reject", ???)
end
Thanks
Vijay
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Passing-java-util-List-as-paramater-tp1174024p1174024.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users