[rules-users] Stateless session and rule flows

Michal Bali michalbali at gmail.com
Sat May 2 06:58:12 EDT 2009


you can start a process from a rule consequence like this:

drools.getKnowledgeRuntime().startProcess("com.sample.MyProcess");

https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch03.html#d0e237



On Mon, Jun 16, 2008 at 1:50 PM, Yoni Mazar <y.mazar at gmail.com> wrote:

>
> Hi Guys,
>
> We are trying to work with drools with stateless session (Sequential) and
> to
> apply rule flows.
>
> we use the following code:
>
> //define diagnosis and patient here
> ...
>
>  StatelessSession session = ruleBase.newStatelessSession();
> //Here we would like to use: session.startProcess("ruleflow id") but this
> is
> a method which belongs to
> //StatefullSession only.
>  session.execute(new Object[] {diagnosis, patient});
>
> How can we do that in steteless mode?
>
> Thanks,
>
> Yoni
> --
> View this message in context:
> http://www.nabble.com/Stateless-session-and-rule-flows-tp17863849p17863849.html
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090502/e608cd86/attachment.html 


More information about the rules-users mailing list