<HTML>
<HEAD>
<TITLE>Re: [rules-users] Drools rule writing question</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Fusion<BR>
<BR>
<BR>
On 11/02/09 6:35 PM, &quot;Denny Lee&quot; &lt;<a href="denny_junk_mail@yahoo.com">denny_junk_mail@yahoo.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:10pt'>Hello,<BR>
I am new to Drools. &nbsp;We have been using JESS for a while and ran into a problem that we cannot solve and is hoping Drools have a solution. &nbsp;Is there anything in the Drools language / rules that allows for temporal evaluation within the rules? &nbsp;What I mean is, say your rule examines 2 variables, var1 and var2, and if both are true it fires. &nbsp;Is there any way/technique to say &quot;If var1 becomes true and var2 was ALREADY true, fire&quot; and &quot;If var1 was ALREADY true and var2 becomes true, DO NOT fire?&quot; &nbsp;&nbsp;I've worked w/ JESS and there is nothing built into the language that does this. &nbsp;Is there something in Drools that can handle this or some general techniques that can deal with something like this?<BR>
<BR>
Thanks.<BR>
<BR>
Denny<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
&nbsp;<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
rules-users mailing list<BR>
<a href="rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><BR>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>