【发布时间】:2018-08-06 14:25:44
【问题描述】:
在下面的规则中,then-part 中的逻辑正在为所有通过给定条件的子对象执行,我想在逻辑之后中断循环 在then-part中只执行一次,怎么做
rule "test"
when
Parent( $childList : childList != null, childList.empty == false)
Child('testing'.equalsIgnoreCase(attribute)) from $childList
then
// testLogic
end
【问题讨论】: