create additional rules, with just the patterns you know you want to match and record the
result in the consequence - so you can check/assert later.
Mark
On 20 Nov 2013, at 20:49, swaroop <swaroop.oggu(a)gmail.com> wrote:
Hi ,
Is there any way to determine which conditions matched/passed from list of
conditions defined for a rule . Also it would be helpful to know if there is
any means to relate a fact and the rule fired. In the below mentioned rule
can we know which condition passed ?
Eg;
rule "check which Object matched"
when
Any of following conditions are true
Condition1
Condition2
Condition3
then
insert(Obj A)
Regards
Oggu
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-know-which-condition-passed-from...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users