Thanks folks. I did end up finding something that works. I guess
Guvnor5.2.0.Final still has some quirks. Even this has to be written just
so for the package to build. Everything has to be cast, using typing didn't
seem to work.
when
$validList : List()
from accumulate(
InRecord($value : value != ""),
ListValid($value))
then
java.util.Iterator iter = (java.util.Iterator)$validList.iterator();
while (iter.hasNext()) {
String curr = (String)iter.next();
ValidValue aValidVal = new ValidValue(curr);
insert(aValidVal);
}
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Guvnor-does-not-like-my-rul...
Sent from the Drools: User forum mailing list archive at
Nabble.com.