[rules-users] using forall with from

Mark Proctor mproctor at codehaus.org
Sat Mar 14 14:25:48 EDT 2009


Garrett Conaty wrote:
> I've got an odd parse case that I'm hoping the parser wizards could 
> confirm is the same as the bug JBRULES-1611:
>
> This works
>
> not (exists (Event(eval 
> (eventDate.after(CalendarUtil.getDateDaysPast(30)))) from $room.events))
>
>
> but this doesn't
>
> forall( Event(eval 
> (eventDate.before(CalendarUtil.getDateDaysPast(30)))) from $room.events )
>
> It's like doing math proofs all over again.  Technically I think I've 
> got to fix the logic because !< is >-= rather than >.
I believe there is already a JIIRA for saying that 'from' doesn't work 
with 'forall'
>
> Thanks,
> Garrett
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090314/451d9604/attachment.html 


More information about the rules-users mailing list