On 13 July 2011 14:40, Syargey <syar...@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@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

Reply via email to