Re: [rules-users] Drool Rule Error with or not condition

2009-12-02 Thread Shah, Malay
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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-02 Thread Mark Proctor
*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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-02 Thread Shah, Malay
-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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-02 Thread Mark Proctor
*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

[rules-users] Drool Rule Error with or not condition

2009-12-01 Thread Shah, Malay
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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-01 Thread Mark Proctor
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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-01 Thread Shah, Malay
[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

Re: [rules-users] Drool Rule Error with or not condition

2009-12-01 Thread Wolfgang Laun
, 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