The "Expert" manual says:
insertLogical(new *Something*()); is similar to insert, but the object will
be automatically retracted when there are no more facts to support the truth
of the currently firing rule.
In other words, as soon as the condition of that rule is not true any more,
the Engine retracts the logically inserted fact. This is commonly referred
to as "truth mainenance".
On 14 March 2011 08:38, asutosh_pandya <asutosh.pandya(a)cognizant.com> wrote:
Sorry for asking very simple question but didn't found the answer in the
Would like to know the core importance of insertLogical in Drools. What is
the purpose of using insertLogical and how it is different from update()
insert() statements in Drools?
Thanks in advance,
View this message in context:
Sent from the Drools - User mailing list archive at Nabble.com
rules-users mailing list