Consider writing a DRL function that does the test and call it in an inline eval().
-W
Hi,
I meet a problem to find an element in an array.
First, I have a 2 dimensional array and a 1 dimensional array.
I need to compare whether the element in 2 dimensional array is as same as 1
dimensional array.
How to solve it?
Like:
In Java - int [][] A; int [] B;
how to iterate array A and array B to find which element is the same in
Drool?
--
View this message in context: http://drools.46999.n3.nabble.com/rule-with-array-tp3747680p3747680.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users