[rules-users] How do you use Ruleflows with StatelessSession's?

Mark Proctor mproctor at codehaus.org
Fri Aug 10 17:34:35 EDT 2007


you would have to call drools.getWorkingMemory().startProcess(id) from 
inside of a consequence.

Mark
Shahad Ahmed wrote:
> Does anyone know if it's possible to use a ruleflow with a 
> StatelessSession?
>  
> The current documentation and API seem to show examples with 
> StatefullSessions i.e.:
>  
> statefullSession.startProcess(id);
> statefullSession.fireAllRules();
> etc...
>  
> However, there doesn't seem to be anything equivalent in the API for 
> StatelessSesssion's. I'd really like to be able to use the new 
> sequential mode (i.e. with a StatelessSession) and ruleflow.
>  
> Regards,
> Shahad
>  
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20070810/deff92bd/attachment.html 


More information about the rules-users mailing list