<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        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 Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:152764804;
        mso-list-type:hybrid;
        mso-list-template-ids:-1132063566 -590064474 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>When I running TroubleTicketExample in Drools4.0. I make
follow change:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>1)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>comment
</span></font><font size=1 face=宋体><span style='font-size:
9.0pt;font-family:SimSun'>“</span></font><b><font face="Courier New"><span
lang=EN-US style='font-family:"Courier New";font-weight:bold'>t3.setStatus( "Done"
);</span></font></b><b><font face=宋体><span style='font-family:
SimSun;font-weight:bold'>”</span></font></b><b><font size=3
face="Courier New"><span style='font-size:12.0pt;font-family:"Courier New";
font-weight:bold'> </span></font></b><font size=1 face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial'>and</span></font><b><font
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
font-weight:bold'> </span></font></b><b><font face=宋体><span
style='font-family:SimSun;font-weight:bold'>“</span></font></b><b><font
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
font-weight:bold'>session.update( ft3, t3 );</span></font></b><b><font face=宋体><span
style='font-family:SimSun;font-weight:bold'>”</span></font></b><b><font
face="Courier New"><span style='font-family:"Courier New";font-weight:bold'> </span></font></b><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>in
TroubleTicketExample.java file.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>2)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>Comment
rule "Escalate" and "Done" in TroubleTicket.drl<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'><span
style='mso-list:Ignore'>3)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'> </span></font></span></span></font><![endif]><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>Change
three “… Priority” rule’s duration to 1000 , for the "Platinum
Priority" rule need add duration attribute<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>We know the sequence which Ticket object insert is ABCD,
so if no duration the “… Priority” rule fire and print sequence
should be DCBA. But when I used the duration I found actual sequence change to ADCB.
The last A be changed the first order. Even I use salience specify the sequence
to DCBA, it still run in ADCB sequence. It seems the duration canceled salience
affect, and change the last rule to first fire.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>I think it is a bug , is it ?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'>Jason Wang<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 face=Arial><span lang=EN-US style='font-size:
9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>