<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>IConstraint is indeed used for storing the 
constraint for each of the outgoing connections of an (X)OR split.&nbsp; This 
constraint is currently represented as a String, but this does not mean it will 
be interpreted at runtime.&nbsp; We are currently thinking about making these 
conditions similar to the normal LHS of a rule, so you could say something like 
when "Person(age &gt; 20)" as constraint.&nbsp; These constraints will then be 
evaluated the same way as the LHS of a rule.&nbsp; I'm pretty close to getting 
(X)OR splits working, the tooling (eclipse) is still the hardest part 
though.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The definition of variables for a ruleflow would 
allow you to define variables local to one specific ruleflow (instance).&nbsp; 
They are similar to globals but their scope is different: globals have one value 
for an entire workingMemory, ruleflow variables would be local to one ruleflow 
(instance).&nbsp; Note that these variables are still on the TODO list as 
well.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=manstis1@ford.com href="mailto:manstis1@ford.com">Anstis, Michael 
  (M.)</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-dev@lists.jboss.org 
  href="mailto:rules-dev@lists.jboss.org">Rules Dev List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 15, 2007 1:16 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [rules-dev] RE: [rules-users] 
  Using the Rule Flow Builder GUI</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
  class=323485610-15052007>So I'm increasingly excited with ruleflow.... but I'm 
  afraid I want to understand more... </SPAN></FONT><FONT face=Arial 
  color=#0000ff size=2><SPAN class=323485610-15052007>Is the decision stuff for 
  ruleflow set to be in 4.0? </SPAN></FONT><FONT face=Arial color=#0000ff 
  size=2><SPAN class=323485610-15052007>Can more information as to the role of 
  IConstraint and IVariable be given?&nbsp;</SPAN></FONT><FONT face=Arial 
  color=#0000ff size=2><SPAN class=323485610-15052007>Will IConstraint continue 
  to be Strings (that are evaluated at runtime)? What purpose do IVariables 
  have; are they bound to (WorkingMemory) Global variables? Can IConstraints 
  access Fact properties (so decisions are made on a per-fact basis - probably 
  horredous truth maintenance issues - rather than global to the process). I'd 
  love to try and contribute...</SPAN></FONT></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
    <HR tabIndex=-1>
    <FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
    [mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Kris 
    Verlaenen<BR><B>Sent:</B> 14 May 2007 22:57<BR><B>To:</B> Rules Users 
    List<BR><B>Subject:</B> Re: [rules-users] Using the Rule Flow Builder 
    GUI<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV>&gt; 1) Yes kris is still working on the decision stuff for 
    ruleflow.</DIV>
    <DIV>Some of the stuff is already partially implemented, but an (X)OR split 
    (where you can define which path(s) to follow based on some conditions) is 
    still on the TODO list.<BR><BR>&gt; 3) The Eclipse GUI ruleflow builder 
    doesn't seem to&nbsp;allow loops in the flow.</DIV>
    <DIV>It does support the creation of loops: create an XOR split as the 
    starting point of your loop, you can then always create nodes that link back 
    to this starting point, resulting in a loop.&nbsp; Note that looping kind of 
    depends on the (X)OR split as well, as that would allow you to exit the loop 
    in specific conditions (now you will probably create an endless loop).&nbsp; 
    I hope I'll be able to add that piece of functionality pretty soon to 
    trunk.</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Kris</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-dev mailing 
  list<BR>rules-dev@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-dev<BR></BLOCKQUOTE></BODY></HTML>