You could assign each rule to a different module, then push the modules in the appropriate order.
 
You could use what I've been calling 'indicator' facts.  The first rule to fire looks for the lack of any indicator fact, and asserts a fact indicating it's execution.  The second rule looks for/requires the first rule's 'completion' fact, and so on.
 
...assuming you've already addressed the obligatory "do you really need to do this..." question.  ;)
 
-Mitch
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Subrahmanyam
Sent: Monday, August 11, 2003 5:46 AM
To: [EMAIL PROTECTED]
Subject: JESS: hi All

Hi All

 

Is there a way to control the rule firing order with out using salience?

I have three rules checking three different conditions on the same set of facts. The order in which the rules fire is important(rule1 , then 2 then 3). Can this be achieved with out using salience?

 

Thanks & Regards

Reply via email to