|
Op 04-02-13 14:24, André Fróes schreef:
First read up on the difference between "score weight" and "score levels": http://docs.jboss.org/drools/release/5.5.0.Final/drools-planner-docs/html_single/index.html#d0e3333 Does your business want to plan higher priority workitems always (= score level) or are there exceptions (= score weight)? Ask them this: if you can assign 1000000 low priority tasks or only 1 high priority task, what would you rather do? makes no sense to me, especially since 1) there are no restrictions on engineer and 2) because it's the cause
"Plan according to priority" is vague, here's are some suggestions on implementation: A) When there's unassigned workorder and there's an engineer capable of doing that workorder and the engineer has a workorder with a lower priority (use "exists" here) then the engineer should be doing the other workorder -1 (with the cause being the unassigned workorder) B) When there's an unassigned workorder then -1 * priority * 1000 (with the cause being the unassigned workorder) HTH
|
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
