<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
you would have to call drools.getWorkingMemory().startProcess(id) from
inside of a consequence.<br>
<br>
Mark<br>
Shahad Ahmed wrote:
<blockquote
cite="mid:1d2fdded0708101359p542648c3ya41a38c4f2790d9b@mail.gmail.com"
type="cite">
<div>Does anyone know if it's possible to use a ruleflow with a
StatelessSession? </div>
<div> </div>
<div>The current documentation and API seem to show examples with
StatefullSessions i.e.:</div>
<div> </div>
<div>statefullSession.startProcess(id); </div>
<div>statefullSession.fireAllRules(); </div>
<div>etc...</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Regards,</div>
<div>Shahad</div>
<div> </div>
<div> </div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>