[rules-users] Issues when comparing attribute values to null

2008-04-07 Thread Joshua Undesser
I am not sure if anyone else is having this issue or not, but I can not do in-line attribute compares to null. For instance. when ObjectA( objectBKey == null ) then objectBKey is a String in this case. This doesn't evaluate properly as the rule was firing even though the slot

Re: [rules-users] Problem passing objects to a method via the eval statement

2008-03-07 Thread Joshua Undesser
col? I'll also grab the new 4.0.5 branch as you mentioned and give that a whirl. Thanks again Mark! Joshua Mark Proctor wrote: > > The 'or' must be used for classes of the same type. > > Mark > Joshua Undesser wrote: >> I am curious if anyone else ha

[rules-users] Problem passing objects to a method via the eval statement

2008-03-06 Thread Joshua Undesser
I am curious if anyone else has run into this problem.It seems like there is something wrong in the Drools LogicMy issue can be very easily be recreated in about 5 minutes >From eclipse I set up a new drools project.Where DroolTest.java is defined I create 4 new classes, ClassA,

[rules-users] Binding Not

2007-12-21 Thread Joshua Undesser
I have a question on the return value of a not statement I have two fairly large rules in respect to the LHS when declarations. They are identical except for the fact that in one of them, I am checking to see if one more object exits, while in the other I am checking to see if it doesn'

[rules-users] Instatiating Global Variables

2007-11-02 Thread Joshua Undesser
I am having a few issues with Global Variables and was wondering if someone could possibly explain them to me. I am coming from a CLIPS/JESS background where globals are very straight forward. ie (global ?*FAMILY_NAME* = "SMITH") and you can use it everywhere after that. You can declare th

Re: [rules-users] Initialize Global

2007-10-31 Thread Joshua Undesser
I am doing something similar and having some issues. I am physically calling setGlobal, but it doesn't seem to be getting setexample global String USER_NAME; rule "Initialize Globals" salience 100 when eval(USRE_NAME == null ) then

Re: [rules-users] Attribute activations vs object activations

2007-10-23 Thread Joshua Undesser
gt; The feature I believe you are after is called slot-specific, so that > only fields which are constrained on pick up the notifications if those > fields have changed. This is not currently supported - sorry. Will > probably be in our next major release in Q1. > > Mark > &

[rules-users] Attribute activations vs object activations

2007-10-22 Thread Joshua Undesser
I am sorry if this has already been answered, I tried a few different search combinations within this user forum and didn't find an answer. I am pretty new to Drools, but am no stranger to JESS and CLIPS. We are currently looking at moving over our product implementations from JESS to DROOLS.