Hi
Thank you for the reply. That actually did not help.
However, I found another way of writing the rule involving a method. It is
as follows:
rule "listEq1"
when
P : Project()
eval( isDefined(P.list1)
&&
neqq(P.getList1(), new ArrayList(Arrays.asList( new Object[] {1, 2,
3} ))))
then
System.out.println("Lists are not equal - 1");
end
Kind of strange, but works.
--
View this message in context:
http://drools.46999.n3.nabble.com/Constraints-over-Lists-tp4021715p402175...
Sent from the Drools: User forum mailing list archive at
Nabble.com.