【发布时间】:2018-08-21 15:43:05
【问题描述】:
我有两个数据对象。
1.)Customer(cust_id,cust_type,first_name,middle_name)
2.)accnt_prtcpnt(cust_id,accnt_id,ap_first_name)。
我需要在 accnt_prtcpnt pbject 中的 ap_first_name 字段上编写 Drools 规则,如果 cust_type 在客户对象中是“AV”,那么 ap_first_name 不应为空。我是 Drools 的新手,不知道该怎么做。可以使用公共字段cust_id 连接两个数据对象。我也在使用 KIE 工作台。
请帮忙!!
【问题讨论】: