I usually use the "insert object, keep the FactHandle, then retract by FactHandle
later" technique. That's just how I roll.
--- On Sat, 6/20/09, Mark Proctor <mproctor(a)codehaus.org> wrote:
You can also insert the object and then use a query to
retrieve it - lots of ways to slice and dice this one :)
Wolfgang Laun wrote:
One good way of producing results from rule is indeed to
create and insert an object as a fact. The idiom on the RHS is
inser( new DroolsResult(...) );
The application could retrieve this with a query over all
DroolsResult