<!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">
I don't think that startProcess should clear the agenda, as you may
have ongoing rule executions that are seperate from the ruleflow, or
even monitoring the various ruleflows that are running.<br>
<br>
Mark<br>
Anstis, Michael (M.) wrote:
<blockquote
cite="mid:6CE83AFC8500B641AE00AC1674A3B4AC0164BE0E@eu1wam08.warley.ford.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2873" name="GENERATOR">
<div dir="ltr" align="left"><span class="821420308-18052007"><font
color="#0000ff" face="Arial" size="2">Are you happy for me to continue
with the work? </font></span><span class="821420308-18052007"><font
color="#0000ff" face="Arial" size="2">I can plug a Factory in to do as
you describe. </font></span><span class="821420308-18052007"><font
color="#0000ff" face="Arial" size="2">It depends upon your dead-line
for "examples"...</font></span></div>
<div dir="ltr" align="left"><span class="821420308-18052007"></span> </div>
<div dir="ltr" align="left"><span class="821420308-18052007"><font
color="#0000ff" face="Arial" size="2">As a side, calling
WorkingMemory.startProcess(xxx) doesn't clear the agenda so anything
previously scheduled gets run along with the process. </font></span><span
class="821420308-18052007"><font color="#0000ff" face="Arial" size="2">Is
this by design?</font></span></div>
<div dir="ltr" align="left"><span class="821420308-18052007"></span> </div>
<div dir="ltr" align="left"><span class="821420308-18052007"><font
color="#0000ff" face="Arial" size="2">If so, documenting it (yep, I
appreciate where everyone - "the community" - is with that) would have
prevented my head scratching last night!</font></span></div>
<div dir="ltr" align="left"><span class="821420308-18052007"></span> </div>
<br>
<blockquote style="margin-right: 0px;">
<div class="OutlookMessageHeader" dir="ltr" align="left"
lang="en-us">
<hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-dev-bounces@lists.jboss.org">mailto:rules-dev-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Mark
Proctor<br>
<b>Sent:</b> 18 May 2007 02:35<br>
<b>To:</b> Rules Dev List<br>
<b>Subject:</b> Re: [rules-dev] Conway example - update to use
ruleflow<br>
</font><br>
</div>
No I only did agenda groups. Key part to the "port" is to share code,
so we still have examples for agenda-groups, don't want to loose those.
Probalby create a factory of some sort to abstract away the parts in
conway that do any rule stuff, so a switch can specify whether the
factory is ruleflowgroup or agenda groups.<br>
<br>
Mark<br>
Michael Neale wrote:
<blockquote
cite="mid:96ab3ced0705171825h203fc90dv43987c72f3943df1@mail.gmail.com"
type="cite">Hi Michael.<br>
<br>
I think Mark was working on a "stateful" conways example (the old was
stateless) - I wasn't sure if he got to using ruleflow (just check
first). <br>
<br>
Ruleflow is probably very useful to most people who would have used
agenda-groups - agenda-groups are a stack, which is not intuitive to
most people, but ruleflows are more imperative, so examples showing
that are appreciated. I would almost go as far as to say that *most* of
the time when you want control, you want ruleflow (you will know if you
want agenda). Correct me if I am wrong, ruleflow is new to me ! <br>
<br>
Michael.<br>
<br>
<div><span class="gmail_quote">On 5/16/07, <b
class="gmail_sendername">Anstis, Michael (M.)</b> <<a
href="mailto:manstis1@ford.com" moz-do-not-send="true">manstis1@ford.com</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font face="Arial" size="2">Just to let you know I am
updating the example to use ruleflow (it looks like one or more rules
are wrong too as the "glider" doesn't glide, so I'll have a look at
these also). </font></p>
<p><font face="Arial" size="2">Doesn't look particularly taxing
so should have it done very soon - provided the wife doesn't complain
that she's not seeing much of me in the evenings ;-)</font></p>
<p><font color="#000000" face="Arial" size="2">With kind
regards,</font> </p>
<p><font color="#000000" face="Arial" size="2">Mike</font> </p>
</div>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-dev@lists.jboss.org" moz-do-not-send="true">rules-dev@lists.jboss.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-dev"
target="_blank" moz-do-not-send="true">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br>
</blockquote>
</div>
<br>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
rules-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>