Thanks,
you really spiced up the documentation :o) Thats really great.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Arjun,
I guess your questions are about 2 different subjects.
1. The non-existence of an object is handled by the NOT CE. So, if you want
to say: there is no Bus asserted into working memory, you simply say:
not Bus()
If you want to say: there is no red bus asserted into working memory,
> Q1) So would either or both "not contains" or "not in" work?
> Q2) Or is "not contains" only for List or Collection type? what about
HashMaps
> then?
> Q3) Stretching my actual use case to its limits; if I want to write
conditions
> over objects that were never asserted into the working memo
comcast.net> writes:
>
> My rule now appears to be working after switching from the "excludes"
operator to the newer "not contains".
>
> This works:
> $ca:CandidateAssociation(nurseDetails.stateLicensures not contains
patientDetails.state )
>
> This does not:
> $c