<div>I asked this question on Aug 10 and got a reply from Mark Proctor saying the only way to currently do this is as follows:</div>
<div>&nbsp;</div>
<div>&quot;you would have to call drools.getWorkingMemory().startProcess(id) from inside of a consequence.&quot;</div>
<div>&nbsp;</div>
<div>This means that you would have to create a rule that is always guaranteed to fire first e.g. with a &quot;when&quot; condition of true and a salience that is higher than all the other rules. The &quot;then&quot; part of the rule will be a call to 
drools.getWorkingMemory().startProcess(id).</div>
<div>&nbsp;</div>
<div>Personally I don&#39;t like this, as there should really be an API option to set a ruleflow to a stateless session. Do a search for statelesssession + ruleflow in the rules-users archives for a the original thread (started on Aug 10).
<br><br>Regards</div>
<div>Shahad</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">hypnosat7</b> &lt;<a href="mailto:ablarbi@yahoo.fr">ablarbi@yahoo.fr</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi,<br><br>Is there any way to use rule flows with a statelessSession ?<br>Thanks<br>--<br>View this message in context: 
<a href="http://www.nabble.com/statelessSession-and-rule-flow-tf4310262.html#a12270501">http://www.nabble.com/statelessSession-and-rule-flow-tf4310262.html#a12270501</a><br>Sent from the drools - user mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<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">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br>