流口水:如何在决策表中使用forall以匹配逗号分开的字符串中的任何项目
如何在决策表中定义流口水的条件元素?对于前。如果输入与逗号分离的绳子之一匹配,则“水果”和“蔬菜”是正确的。 “ ABC组合”如果输入字符串包含所有逗号分隔字符串,则为true。我使用自定义函数实现了同样的功能,只想知道是否可以通过forall
?
How to define Drool's conditional element forall
in decision table? for ex. "fruit" and "vegetable" true if the input matches one of the comma separated string. "abc combo" true if the input string contains all of the comma separated string. I have achieved the same using a custom function, just want to know if the same can be achieved by forall
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
匹配任意||在Forall中,匹配所有使用& amp;
示例
To match either use the || in the forAll and to match all use &&
Example