1 2 3 4 5 6 7 8
package workpool import workpool.*; rule "WorkerAverageService" when $workerBean: WorkpoolBean(jobComputed > 250) then $workerBean.addWorkerToNode("nodeB"); end