I think that the overloaded method for starting a process<br> ksession.startProcess( String name, Map<String,Object> name2var )<br>is what you want.<br>-W<br><br><br><div class="gmail_quote">On Wed, May 13, 2009 at 4:17 PM, Brad Stone <span dir="ltr"><<a href="mailto:bstone@menloware.com">bstone@menloware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Shannon Lal <shannonlal2909 <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
<br>
><br>
><br>
> Brad,Can you provide some more information on what you are trying to<br>
accomplish by doing this?Thanks<br>
> On Wed, May 13, 2009 at 2:10 AM, Brad Stone <bstone <at> <a href="http://menloware.com" target="_blank">menloware.com</a>> wrote:<br>
><br>
> When calling kcontext.getKnowledgeRuntime().startProcess() from the rule<br>
> consequent can you also pass bound variables from the rule's LHS?<br>
> _______________________________________________<br>
> rules-users mailing listrules-users <at><br>
lists.jboss.orghttps://<a href="http://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
Sure, my rules detect problems with objects of various types. If a problem<br>
is encountered, I want to execute a repair workflow, but the workflow (Drools<br>
flow) needs to be aware of which object to operate on. So the rule needs to<br>
bind to a specific object and pass that object to the flow.<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>