hi jess
users
I want to change the salience of
a rule during process.
e.g.
(defrule number1
(salience 0)
=>
(if … then
(“increase
salience”)
else
(“decrease
salience”))
How can I do this so that the new
salience is save even after a restart of the p
I have a defrule like this:
(
...
=>
...
(bind ?objVal (get ?obj property))
...
)
I need to make sure that ?objVal is not nill before proceeding further. I
don't see any functions that might help me here. (if (eq ..)) doesn't work
since it's going to try to call Object.equals(). There a
I think erich.oliphant wrote:
> I need to make sure that ?objVal is not nill before proceeding further. I
> don't see any functions that might help me here. (if (eq ..)) doesn't work
> since it's going to try to call Object.equals().
Actually, "eq" works fine.