you can start a process from a rule consequence like this:<br><pre class="programlisting"><a id="d0e237">drools.getKnowledgeRuntime().startProcess(&quot;com.sample.MyProcess&quot;);</a><br></pre><a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d0e237">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d0e237</a><br>
<br><br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 1:50 PM, Yoni Mazar <span dir="ltr">&lt;<a href="mailto:y.mazar@gmail.com">y.mazar@gmail.com</a>&gt;</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;">
<br>
Hi Guys,<br>
<br>
We are trying to work with drools with stateless session (Sequential) and to<br>
apply rule flows.<br>
<br>
we use the following code:<br>
<br>
//define diagnosis and patient here<br>
...<br>
<br>
 StatelessSession session = ruleBase.newStatelessSession();<br>
//Here we would like to use: session.startProcess(&quot;ruleflow id&quot;) but this is<br>
a method which belongs to<br>
//StatefullSession only.<br>
 session.execute(new Object[] {diagnosis, patient});<br>
<br>
How can we do that in steteless mode?<br>
<br>
Thanks,<br>
<br>
Yoni<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Stateless-session-and-rule-flows-tp17863849p17863849.html" target="_blank">http://www.nabble.com/Stateless-session-and-rule-flows-tp17863849p17863849.html</a><br>

Sent from the drools - user mailing list archive at Nabble.com.<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>
</font></blockquote></div><br>