Thanks Steve and Wolfgang, that helped me a lot. Not the salience, but using a 
blocking fact was very helpful and also using the activation-group. Though I 
did not found something about it in the book "Drools JBoss Rules 5.0 
Developer's Guide". Maybe it is just too basic for the book or I'm not skilled 
enough to find it, probably the second.  

So anyway thanks you two. 


----- Ursprüngliche Mail -----
Von: "Stephen Masters" <[email protected]>
An: "Rules Users List" <[email protected]>
Gesendet: Donnerstag, 17. Januar 2013 13:12:30
Betreff: Re: [rules-users] XOR Rules

Not explicitly. The usual practise is for each rule to insert a blocking fact 
and create a condition in each rule, which ensures that it only fires if the 
blocking fact doesn't exist. If you want one to take priority over the other, 
then you can use salience.

Steve


On 17 Jan 2013, at 11:58, Bojan Janisch <[email protected]> 
wrote:

> Hello everybody,
> 
> is there a way to XOR two rules? So if one condition is passed,
> that not a specific other rule fires, even if that condition 
> also passed. 
> 
> Thanks in advance.
> 
> Bojan
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to