什么是写在Drools中的条件的最佳方式CEP推断(A后最大时间B) 实施例: a : new A();
b : new B(this after [1m])
上面的例子不是我的需要。 我需要这样的: a : new A();
b : new B(this after a , b.timestamp - a.timestamp <= 60000)
所以我重新制定的问题。另一种方式是用较
这条规则有什么错。 rule "Organization Employee Rule"
when
$company: CompanyFact($emp: /employeeList{organizationName== "XYZ"})
then
System.out.println("Employee in organization" +$emp);