Nara,
this will fire always (and only once, notice empty set of conditions):
(defrule always-rule "executes once in engine"
=>
(printout t "always executed")
)
Dusan Sormaz
At 01:58 AM 5/24/2007, you wrote:
Hi,
Is there a standard way to tell Jess that a particular rule should be always
fired?
Or it should be defined like a regular rule but which always returns true,
e.g. if (1 == 1) or something?
Thanks,
Hari
--
View this message in context:
http://www.nabble.com/Rule-which-is-always-fired-tf3808157.html#a10777873
Sent from the Jess mailing list archive at Nabble.com.
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------
*********************************************************************
* Dusan Sormaz, PhD, Associate Professor
* Ohio University
* Industrial and Manufacturing Systems Engineering Department
* 277 Stocker Center, Athens, OH 45701-2979
* phone: (740) 593-1545
* fax: (740) 593-0778
* e-mail: [EMAIL PROTECTED]
* url: <http://www.ent.ohiou.edu/~sormaz>http://www.ent.ohiou.edu/~sormaz
*********************************************************************