Closed (fixed)
Project:
Rules
Version:
6.x-1.1
Component:
Rules Engine
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2009 at 22:50 UTC
Updated:
22 Dec 2009 at 18:30 UTC
Hi,
I have a rule set ASGD P with a number of active rules. When the rule set is invoked it appears that the last rule in the set is executed first. This causes errors in the results as the last rule definitely needs input from earlier rules in the list.
How is it possible that my rules are not executed in order?
I added two screen shots: one with the contents of the rule set and one with the output from the rule debugger.
Note that the rule "Copy contents of game description into prediction" is actually excuted first in stead of last.
Your help is very much appreciated !
Fred
| Comment | File | Size | Author |
|---|---|---|---|
| Debug ASGD P execution.PNG | 47.19 KB | Goofy2k | |
| Rule set ASGD P.PNG | 18.25 KB | Goofy2k |
Comments
Comment #1
fagoYou can enforce the right order by using different weights for your rules.
Comment #2
Goofy2k commentedThanks fago.
I know that I can change the order of rules execution by assigning weights. I was assuming that rules are always executed in the order that they are listed in the rule set, which is in it's turn depending on the weights.
As the rule "Copy contents of game ..." is on the bottom of the list I assumed that it would be executed as last. Is this assumption correct?