<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=790095013-23042007><FONT face=Arial
size=2>All,</FONT></SPAN></DIV>
<DIV><SPAN class=790095013-23042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=790095013-23042007><FONT face=Arial size=2>I'm trying to
setup three rules to process orders as a test case. The first two
rules look for specific conditions and the third one is the default rule.
I only want a single rule to fire for each order that I pass into the
engine. I gave all three rules the same activation-group. The first
two rules have a salience of 10 and the third rule has the default salience
value. The problem that I'm experiencing is that only one order is
processed and the rest are skipped.</FONT></SPAN></DIV>
<DIV><SPAN class=790095013-23042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=790095013-23042007><FONT face=Arial size=2>Here's a snippet
from the rules file:</FONT></SPAN></DIV>
<DIV><SPAN class=790095013-23042007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=790095013-23042007><B><FONT color=#960000 size=2>
<P align=left><FONT face=Arial>rule</FONT></B></FONT><FONT face=Arial><FONT
size=2> </FONT><FONT color=#008000 size=2>"837621 - Stage 5"</P></FONT></FONT>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>activation-group</FONT></FONT></FONT></B><FONT face=Arial><FONT size=2>
</FONT><FONT color=#008000 size=2>"Harris"</P></FONT></FONT>
<P align=left><FONT size=2><B><FONT face=Arial><FONT color=#960000><SPAN
class=790095013-23042007>
</SPAN>salience</FONT></FONT></B><FONT face=Arial> 10</FONT></FONT></P>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>when</FONT></FONT></FONT></P></B>
<P align=left><FONT face=Arial><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>flowid is 1798</FONT></FONT></P>
<P align=left><FONT size=2><FONT face=Arial><SPAN
class=790095013-23042007>
</SPAN>workflow in stage </FONT><FONT color=#008000><FONT
face=Arial>"5"</FONT></P></FONT></FONT>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>then</FONT></FONT></FONT></P></B>
<P align=left><FONT size=2><FONT face=Arial><SPAN
class=790095013-23042007>
</SPAN>assign prov plan </FONT><FONT color=#008000><FONT face=Arial>"Harris
Gtwy-ChXchange-New Loop"</FONT></P></FONT></FONT>
<P align=left><FONT size=2><FONT face=Arial><SPAN
class=790095013-23042007>
</SPAN>complete task </FONT><FONT color=#008000><FONT face=Arial>"FAC
VER"</FONT></P></FONT></FONT><B>
<P align=left><FONT face=Arial><FONT color=#960000><FONT
size=2>end</FONT></FONT></FONT></P></B><FONT face=Arial size=2>
<P align=left></P></FONT><B><FONT color=#960000>
<P align=left><FONT face=Arial size=2>rule</FONT></B></FONT><FONT
face=Arial><FONT size=2> </FONT><FONT color=#008000 size=2>"828257 - New
Order"</P></FONT></FONT>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>activation-group</FONT></FONT></FONT></B><FONT face=Arial><FONT size=2>
</FONT><FONT color=#008000 size=2>"Harris"</P></FONT></FONT>
<P align=left><FONT size=2><B><FONT face=Arial><FONT color=#960000><SPAN
class=790095013-23042007>
</SPAN>salience</FONT></FONT></B><FONT face=Arial> 10</FONT></FONT></P>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>when</FONT></FONT></FONT></P></B>
<P align=left><FONT face=Arial><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>flowid is 1798</FONT></FONT></P>
<P align=left><FONT size=2><FONT face=Arial><SPAN
class=790095013-23042007>
</SPAN>workflow in stage </FONT><FONT color=#008000><FONT
face=Arial>"1"</FONT></P></FONT></FONT>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>then</FONT></FONT></FONT></P></B>
<P align=left><FONT size=2><FONT face=Arial><SPAN
class=790095013-23042007>
</SPAN>assign prov plan </FONT><FONT color=#008000><FONT face=Arial>"Harris
Gtwy-ChXchange-New Loop"</FONT></P></FONT></FONT><B>
<P align=left><FONT face=Arial><FONT color=#960000><FONT
size=2>end</FONT></FONT></FONT></P></B>
<P align=left><FONT face=Arial size=2></FONT></P><B><FONT color=#960000>
<P align=left><FONT face=Arial size=2>rule</FONT></B></FONT><FONT
face=Arial><FONT size=2> </FONT><FONT color=#008000 size=2>"1798
Default"</P></FONT></FONT>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>activation-group</FONT></FONT></FONT></B><FONT face=Arial><FONT size=2>
</FONT><FONT color=#008000 size=2>"Harris"</P></FONT></FONT>
<P align=left><FONT size=2><B><FONT face=Arial><FONT color=#960000><SPAN
class=790095013-23042007>
</SPAN>salience</FONT></FONT></B><FONT face=Arial> 0</FONT></FONT></P>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>when</FONT></FONT></FONT></P></B>
<P align=left><FONT face=Arial><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>flowid is 1798</FONT></FONT></P>
<P align=left><B><FONT face=Arial><FONT color=#960000><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>then</FONT></FONT></FONT></P></B>
<P align=left><FONT face=Arial><FONT size=2><SPAN
class=790095013-23042007>
</SPAN>assign prov plan <FONT color=#008000>"Harris Gtwy-ChXchange-New
Loop"<SPAN class=790095013-23042007>=</SPAN></FONT></FONT></FONT></P>
<P align=left><FONT face=Arial><FONT size=2><FONT color=#008000><SPAN
class=790095013-23042007></SPAN></FONT></FONT><B><FONT color=#960000><FONT
size=2>end</FONT></FONT></B></FONT></P>
<P align=left><FONT face=Arial color=#960000 size=2><SPAN
class=790095013-23042007>Any Ideas?</SPAN></FONT></P>
<P align=left><FONT face=Arial><B><FONT color=#960000
size=2></FONT> </P></B></FONT></SPAN></DIV></BODY></HTML>