Just out of curiosity, if you change your "modify" block and use an "updeat" instead, does it work? Something like:
$myObject.setVariable1(defaultValue); update($myObject); Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Thu, Feb 16, 2012 at 5:14 PM, Vakimshaar <[email protected]> wrote: > That's not what is in the doc: > > > Documentation wrote > > > > All operators have normal Java semantics except for == and !=. > > The == operator has null-safe equals() semantics: > > // Similar to: java.util.Objects.equals(person.getFirstName(), "John") > > // so (because "John" is not null) similar to: > > // "John".equals(person.getFirstName()) > > Person( firstName == "John" ) > > > > And still, actually the MyObject class is actually wrapper to the > ActualObject class. The getters and setters are basically simple wrapped. > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/ConsequenceException-when-using-modify-tp3750604p3750755.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > 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
