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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users