[rules-users] XOR Rules

Stephen Masters stephen.masters at me.com
Thu Jan 17 07:12:30 EST 2013


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 <bojan.janisch at scai.fraunhofer.de> 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list