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
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 has run into this problem.It seems like
there
is something wrong
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,
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
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
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
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
Joshua Undesser wrote:
I am sorry if this has already been answered, I