开发者

Drools rule templates and the forall decision table construct

Currently trying to prove a database driven rule template that is using comma separated input paramaters. We are trying to reuse the forall decision table construct that does not appear to work with rule templates.

E.g.

<code>
template header
开发者_高级运维myCommaSeparated

package test.package;

template "Test Rule"
rule "@{row.rowNumber}"

    when
        forall(||){@{myCommaSeparated}}
    then        

end
end template   
</code>

This does not work. According to the docs rule templates should be able to do everything a decision table can do ??


You can follow the status of a similar (the same?) question on the drools-user mailing list: http://drools.46999.n3.nabble.com/rules-users-Rule-Templates-comma-separated-data-td3091621.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜