[rules-users] Reg. Iterating over a list
Wolfgang Laun
wolfgang.laun at gmail.com
Tue Sep 4 01:31:23 EDT 2012
Inline
On 04/09/2012, Phani Saripalli <saripalli.phani at gmail.com> wrote:
>
> However, I would like to do every thing all at once in the LHS, or maybe
> RHS.
Well, make up your mind. Conditions is LHS, actions is RHS.
> This is because I have to work around similar functions like the
> following:
>
> 1) collect from collectionA with a boolean constraint into collectionB
Sounds like an action. But you've seen this in the condition of rule
"list rule".
> 2 ) similarly, collect everything that does not satisfy.
You'll have to collect everything that satisfies the negated condition :)
>
> Custom evaluators - sounds interesting. Sadly, I did not find it. Would be
> very much useful if you can share an example.
Google "Drools Custom evaluator" would have lead you to my home page:
http://members.inode.at/w.laun/drools/CustomOperatorHowTo.html
-W
>
> Many thanks :)
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Reg-Iterating-over-a-list-tp4019512p4019562.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list