<!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">
Just remove the entire rule and re-add it again, but with a different
consequence.<br>
<br>
Mark<br>
Robert Burdick wrote:
<blockquote
 cite="mid:200708041551.l74Fp079001498@chief.prod.atl2.jboss.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style>
  <div class="Section1">
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Hello All:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; I am trying
to figure
out if JBoss Rules will be suitable for my application<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; needs.&nbsp; Maybe
you can
give some insight.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; My
application needs to
implement / use a rules engine for evaluating<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; conditions
and firing
off events when those conditions are met.&nbsp; So far this<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; sounds
exactly like the
sort of thing that JBoss Rules is for.&nbsp; The twist is<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; that my
application will
also provide an administrative utility that allows<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; admins to add
or remove
rules, as well as modify the conditions that trigger<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; these rules.&nbsp;
Can JBoss
Rules be used to do this?&nbsp; All of the examples I've<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; seen so far
seem to
incorporate rules whose consequences are fixes, but with<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; changeable
conditions.&nbsp;
For example, there are lots of samples out there<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; like an
insurance
application.&nbsp; Such an example has consequences such as<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; offerQuote,
turnDownCustomer etc. that don't change, but with conditions<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; that do
change.&nbsp; For
example, today offer quotes to all good drivers,<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; tomorrow
change the rule
to offer quotes to all good drivers over the age of<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; 18.&nbsp; The
conditions
change, but the basic actions in the system are common.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; What I think
my
requirement implies is a way to define rules with conditions<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; and the
corresponding
consequences code at runtime.&nbsp; This seems to imply<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; that the
application
code needs to be dynamic, in order to allow users to<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; define
arbitrary
consequence code.&nbsp; Has anyone ever tried to do something<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; this generic
with JBoss
Rules, and better, can you fill me in on how to go<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; about this?<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; Thanks, Robert<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; </span></font><font
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
  </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>