I asserted 3 class (Class1, Class2, Class3) in the working memory. I make an reference for the class (Class1) in the first rule. Is it possible to use the same reference in the 2nd rule?
Eg: [when] class : Class1() eval(class.getVarName1() == "{value1}"); [then] .........do something....... [when] eval(class.getVarName2() == "{value2}"); [then] ...........do something........ My requirement is to use the same class (Class1) in all the rules. I don't want to iterate other two classes (Class2 & Class3) in rule 2. -- View this message in context: http://www.nabble.com/Use-of-the-same-reference-in-multipe-rules-tf3873426.html#a10974992 Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users