I meant to insert a fact and immediatly modify it, in the same rule
consequence.
I know you can insert OR modify in a consequence.
I also know that when you modify a fact you actually retract the old one and
insert a new one with the respective properties set.
So, my question was, can you do something like this ?
rule "my rule"
when
...
then
insert( fact );
modify (fact );
end
Where fact is the same?
And if it's possible, can you give me a simple example?
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Possibly-stupid-question-bu...
Sent from the Drools: User forum mailing list archive at
Nabble.com.