Hello there
I have the following object model
ClassAString nameClassB classB
ClassBString statusString context
Before upgrading drools 5.2.0.Final I had the following rule:
whenClassA ( classB.status =='Open' && name =='Hello' && classB.context='jump')thenSystem.out.println("Hit rule");end
However after upgrading to 5.2.0 the above rule does not get fired, instead I have to do the following:
whenClassA ( name =='Hello' && classB.status =='Open' && classB.context='jump')thenSystem.out.println("Hit rule");end
or
whenClassA ( classB.status =='Open' && classB.context='jump' && name=='Hello')thenSystem.out.println("Hit rule");end
Has there been a change causing the original rule not to work? Or should the approach always be to use
whenClassA ( name =='Hello' && classB.status =='Open' && classB.context='jump')thenSystem.out.println("Hit rule");end
or
whenClassA ( classB.status =='Open' && classB.context='jump' && name=='Hello')thenSystem.out.println("Hit rule");end
Any help would be appreciated
ThanksAmin
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users