[rules-users] Possibly stupid question... but I have to ask
menada
eujenia at gmail.com
Thu Jul 28 16:20:15 EDT 2011
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-but-I-have-to-ask-tp3207666p3207709.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list