Probably what you mean is:
exists YearData( id == $result.identifierCode, vehicles.size > 0 )
-W
On 13/11/2013, braveheart85 <andrea.pacifico.85(a)gmail.com> wrote:
How can i insert an EXISTS in above query?
I inserted exist on Vehicle but what about Year?
I got an exception if i write:
exists $y: Year( )
or
$y: exists Year( )
--
View this message in context:
http://drools.46999.n3.nabble.com/distinct-operator-in-a-query-tp4026762p...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users