Re: [rules-users] Check all elements of a list (Drools Expert)

2011-02-24 Thread Petr Chelčický

Thanks. The object from the list are not in working memory though. Is it 
possible to combine it with "from" keyword?

__
> Od: "Steve Ronderos" 
> Komu: Rules Users List 
> Datum: 24.02.2011 16:58
> Předmět: Re: [rules-users] Check all elements of a list (Drools Expert)
>
>Check out the forall conditional element: 
>http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e4632
> 
>
>
>Good luck!
>Steve
>
>rules-users-boun...@lists.jboss.org wrote on 02/24/2011 09:45:16 AM:
>
>> From:
>> 
>> "Petr Chelčický" 
>> 
>> To:
>> 
>> 
>> 
>> Date:
>> 
>> 02/24/2011 09:49 AM
>> 
>> Subject:
>> 
>> [rules-users] Check all elements of a list (Drools Expert)
>> 
>> Sent by:
>> 
>> rules-users-boun...@lists.jboss.org
>> 
>> 
>> Hi! I'm trying to write rules in Drools Expert. In the when part of 
>> the rule, I check some properties of an Application object. This 
>> object contains a List and I would like to check if a bunch of rules
>> apply to all objects of SomeOtherType in this list. The rule should 
>> fire only when the constraints are valid for ALL objects in that 
>> list. How could this be done?
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
>___
>rules-users mailing list
>rules-users@lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/rules-users
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Check all elements of a list (Drools Expert)

2011-02-24 Thread Petr Chelčický

Hi! I'm trying to write rules in Drools Expert. In the when part of the rule, I 
check some properties of an Application object. This object contains a List and 
I would like to check if a bunch of rules apply to all objects of SomeOtherType 
in this list. The rule should fire only when the constraints are valid for ALL 
objects in that list. How could this be done?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Decision Trees

2011-02-07 Thread Petr Chelčický

I have quite a big decision tree (eligibility check) that I'd like to implement 
in Drools. To convert it to rules, I'd have to find every path from start 
leading to a leaf and check all the constraints. I feel like it'd be very 
messy. Is there a faster way? How about Drools Flow and decision trees? I tried 
to explain my use case here: 
http://stackoverflow.com/questions/4887456/decision-trees-and-rule-engines-drools
 where they recommend using Drools Expert. Is this the way to take?

John
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users