<br><font size=2 face="sans-serif">Ok, I just needed to do more reading.
&nbsp;I used an exit action to get the result and then used the process
context variable to insert the result into working memory. &nbsp;Works
nicely.</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br><font size=2 face="sans-serif">Kent Symanzik<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>kfs2@chrysler.com</b> </font>
<br><font size=1 face="sans-serif">Sent by: rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">02/09/2009 02:47 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Rules Users List &lt;rules-users@lists.jboss.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[rules-users] Flow action - insert into
KnowledgeSession</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
I have defined a WorkItemHandler which can, based on the parameters, collect
some additional data. &nbsp;I would like to insert the new facts into the
session but I do not see where a workItemHandler can get access to the
current stateless session. &nbsp; Should this be done by returning the
new facts in the results ? &nbsp;If so, how can you insert the results
into the session?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Thanks </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Kent Symanzik</font><tt><font size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users<br>
</font></tt><font size=2 face="sans-serif"> &nbsp;</font></a>
<br>