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:
 
"you would have to call drools.getWorkingMemory().startProcess(id) from inside of a consequence."
 
This means that you would have to create a rule that is always guaranteed to fire first e.g. with a "when" condition of true and a salience that is higher than all the other rules. The "then" part of the rule will be a call to drools.getWorkingMemory().startProcess(id).
 
Personally I don'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).

Regards
Shahad


 
On 8/22/07, hypnosat7 <ablarbi@yahoo.fr> wrote:

Hi,

Is there any way to use rule flows with a statelessSession ?
Thanks
--
View this message in context: http://www.nabble.com/statelessSession-and-rule-flow-tf4310262.html#a12270501
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users