[rules-users] Rule order in DSL file

Rajesh.Sachin10 rajesh_sachin10 at yahoo.co.in
Wed Jun 6 05:59:12 EDT 2007


I used 'salience' key word to control the order of firing in drl file. But it
is not working properly when we use both DSL file and DRL file to execute
rules. The order of firing is in random manner in DSL file. 

How to control the order of firing in dsl file?

Eg:

My requirement consists of 6 [when] [then] conditions in DSL file. 

If first 3 rules get fired, then only the 4th and 5th rule should fire.

Then if 5th rule is fired then 6 rule should execute.

How to control this in DSL file?
-- 
View this message in context: http://www.nabble.com/Rule-order-in-DSL-file-tf3876953.html#a10985646
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list