Ok, I just needed to do more reading. I used an exit action to get the result and then used the process context variable to insert the result into working memory. Works nicely.
Thanks Kent Symanzik [email protected] Sent by: [email protected] 02/09/2009 02:47 PM Please respond to Rules Users List <[email protected]> To Rules Users List <[email protected]> cc Subject [rules-users] Flow action - insert into KnowledgeSession I have defined a WorkItemHandler which can, based on the parameters, collect some additional data. 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. Should this be done by returning the new facts in the results ? If so, how can you insert the results into the session? Thanks Kent Symanzik_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
