当前正在尝试证明数据库驱动的规则模板使用逗号分隔的输入参数。我们正在尝试重用似乎不适用于规则模板的forall决策表结构。
例如。
<code>
template header
myCommaSeparated
package test.package;
template "Test Rule"
rule "@{row.rowNumber}"
when
forall(||){@{myCommaSeparated}}
then
end
end template
</code>这不起作用。根据文档规则,模板应该能够做决策表所能做的一切??
发布于 2011-06-22 19:23:57
你可以关注类似的状态(相同吗?)drools-用户邮件列表上的问题:http://drools.46999.n3.nabble.com/rules-users-Rule-Templates-comma-separated-data-td3091621.html
https://stackoverflow.com/questions/6436405
复制相似问题