【发布时间】:2014-03-11 07:10:02
【问题描述】:
我在 Drools 中实现了业务规则,在执行时我得到了 java RuntimeException
Unexpected global [myService]
org.drools.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:588)
可能是什么原因?
规则:
rule "Tax Rule"
when
calculateTax : calculateTax(
objOne : objOne,
objTwo : objTwo,
objThree : objThree
);
objFour : objFour();
System.out.println("debug");
then
...
end
【问题讨论】:
-
你能分享你的规则吗?以及启动规则引擎的部分代码。
-
谢谢安迪,我刚刚发现了问题,发布了答案。
标签: jboss7.x drools business-rules