Re: [rules-users] RE: Duplicate check using dialect(firing multiple times)

2007-11-15 Thread Edson Tirelli
Basha, This is the correct behavior since both facts match both patterns (one at a time). If you don't want them to fire 2 times, you need a way to tell the engine there is an order on the facts. I.e., (A,B) is a valid tuple for you, but (B,A) is not. One way of doing that is if the

RE: [rules-users] RE: Duplicate check using dialect(firing multiple times)

2007-11-14 Thread Sikkandar Nawabjan
Edson, With this code it is firing. But it is firing 2 times(u also got same 2 time output). why is that? how we can avoid? Thanks and Regss, Basha Sorry, my mistake. this is a reserved word in java (duh!!), and so you need to use your own binding: m : Message( $message1 :