DroolsQuery queryObject = createDroolsQuery( leftTuple,
handle,
workingMemory );
QueryInsertAction action = new QueryInsertAction( context,
handle,
leftTuple,
this );
queryObject.setAction( action ); // this is necessary as queries can be re-entrant, so we can check this before re-sheduling
// another action in the modify section. Make sure it's nulled after the action is done