if (((StatefulKnowledgeSessionImpl) ksession).session.getExecutionResult() != null && !this.disconnected) {
((StatefulKnowledgeSessionImpl) ksession).session.getExecutionResult().getResults().put(this.outIdentifier, results);
}
if (((StatefulKnowledgeSessionImpl) ksession).session.getExecutionResult() != null && this.disconnected) {
QueryResultsDescriptor disconnectedResults = new QueryResultsDescriptor(this.name, this.outIdentifier, results.size());
((StatefulKnowledgeSessionImpl) ksession).session.getExecutionResult().getResults().put(this.outIdentifier, disconnectedResults);
context.getContextManager().getContext( "__TEMP__" ).set( this.outIdentifier, results );
return disconnectedResults;
}
}