Reputation: 69
I have a lot of events log insert to ksession, and I need to find out the facts which trigered the specific rule.How can i get the relation ship between the facts which trigered the rule and the events log?
Upvotes: 1
Views: 166
Reputation: 20956
You can use drools
keyword
import java.util.Arrays;
rule
when
...
then
System.out.println(Arrays.asList(drools.getTuple().toObjects()));
...
end
Upvotes: 1