Just a typo :), the <<)>> and <<">> in the consequence are
swapped:
userX.setDescription("changed in workflow)";
(The consequence of a rule is compiled into a class on the fly, whence the
error you get)
Moreover, you should use accessors and constraints in the LHS
User( name == "test123" )
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-discrepency-between-drools-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.