Well the thing is, it's not just one condition - it's the combination of all
my rule's conditions.
And my rules have about 7 conditions, none of which are mandatory.
And that is actually the source of all my problems: that the conditions are
optional.
If I set up a few logical relationships, there is nothing specific I am
testing on, which gives a single expression I can test in a function. In
procedural programming, I check each of the 7 conditions optionally, and
then I apply my ternary operator to the final result. But here I can't do
that, because the condition is made up of all the little conditions that may
or may not be applicable.
PS.
Ok, so I see from the other thread that a rule template is meant to place
whatever text you give it, like a text pre-processor. I'll see if that is
correct, thanks. I thought it might not be, because if you provide a blank
cell, it deletes your entire condition, instead of providing a "" or a null,
like you'd expect from a text pre-processor.
--
View this message in context:
http://n3.nabble.com/Negating-a-result-tp212559p212797.html
Sent from the Drools - User mailing list archive at
Nabble.com.