[rules-users] discrepency between drools eclipse editor and runtime
Davide Sottara
dsotty at gmail.com
Sat Nov 12 20:42:55 EST 2011
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-eclipse-editor-and-runtime-tp3503648p3503708.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list