[rules-users] "not exists MyObject" - is it a valid LHS condition?
Olenin, Vladimir (MOH)
Vladimir.Olenin at moh.gov.on.ca
Fri Feb 9 15:31:24 EST 2007
Hi,
I wonder if the combination of 'not' and 'exists' keywords is a valid one
and therefore the construct like
rule "myrule"
when
not exist MyObject(param matches "somepattern")
then
System.out.println("Object for pattern 'somepattern' doesn't exisit");
End
Thanks.
Vlad
PS: basically I need to trigger a rule if some set of facts is NOT found and
I need to trigger it only once.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070209/ea208b50/attachment.html
More information about the rules-users
mailing list