[rules-users] decision tables and default rules for case when part of LHS failes for other rules

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jul 13 09:05:05 EDT 2011


On 13 July 2011 14:40, Syargey <Syargey at tut.by> wrote:

> In fact, I don't need to have default values if no values were found.
>
> I need default values if part of LHS is never true.
>
> If I have the rule:
>
> rule "rule_11"
>    when
>        Object1( constraint1 )
>        Object2( constraint2 )
>     then
>        insert(new Result());
> end
>
> I'd like to have rule applying when "Object1( constraint1 )" fails.
>
>
when
   not Object1( constraint1 )
then

-W


> In decision table.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/decision-tables-and-default-rules-for-case-when-part-of-LHS-failes-for-other-rules-tp3162872p3165787.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110713/37386204/attachment.html 


More information about the rules-users mailing list