To: Rules Users List
Subject: Re: [rules-users] Drool Rule Error with or not condition
Binding a variable to a fact in a branch of an 'or' (as you are doing with
EtsExecutionOrderXref_core00) is not useful, since you cannot use this binding
in the consequence. (The rule might just as well fire due
*From:* rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] *On Behalf Of *Wolfgang Laun
*Sent:* Wednesday, December 02, 2009 1:47 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Drool Rule Error
-boun...@lists.jboss.org]
On Behalf Of Mark Proctor
Sent: Tuesday, December 01, 2009 6:56 PM
To: Rules Users List
Subject: Re: [rules-users] Drool Rule Error with or not condition
You are binding the result of the 'or' to EtsExecutionOrderXref_core00 as the
second part is a 'not' which returns
*Subject:* Re: [rules-users] Drool Rule Error with or not condition
when using 'or' the bindings and the object types for those bindings
must balance for each logical outcome.
Mark
Shah, Malay wrote:
Thanks W.
I removed the binding of EtsExecutionOrderXref_core00, and it looked
good. But I
Hi All,
I have the following drool rule that has or not under Entity Block.
Basically, the rule tries to check if there either exists an entity object
EtsExecutionOrderXref_core00 with the given conditions, or the entity does not
exist at all with some other conditions.
dialect mvel
rule
You are binding the result of the 'or' to EtsExecutionOrderXref_core00
as the second part is a 'not' which returns nothing, how would it be
bound to?
Shah, Malay wrote:
Hi All,
I have the following drool rule that has or not under Entity Block.
Basically, the rule tries to check if there
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mark Proctor
Sent: Tuesday, December 01, 2009 6:56 PM
To: Rules Users List
Subject: Re: [rules-users] Drool Rule Error with or not condition
You are binding the result of the 'or' to EtsExecutionOrderXref_core00 as the
second part
, December 01, 2009 6:56 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] Drool Rule Error with or not condition
You are binding the result of the 'or' to EtsExecutionOrderXref_core00 as
the second part is a 'not' which returns nothing, how would it be bound to?
Shah, Malay wrote:
Hi All,
I