[rules-users] Drools Result
Greg Barton
greg_barton at yahoo.com
Sat Jun 20 12:20:44 EDT 2009
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 at 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
More information about the rules-users
mailing list