Yes, that fixed it, many thanks.

On 3/10/08, Mark Proctor <mproctor@codehaus.org> wrote:
To modify a fact on the RHS you must bind it to a variable, when adding/editing the object type make sure you set the variable name.

Mark
David Godfrey wrote:
Using Drools 4-0-4, I am trying to setup a very simple prototype system to use either of the Guided Rule Editors in Eclipse or BRMS.
 
I have created a simple bean class to act as my Fact, and can see this when setting up the LHS, e.g. I can create a condition that a field in my fact must equal "X".
 
I then want to set a different field to a new value as the RHS, but in the "Then" section of the guided rule editor, when I try to choose a value from the drop down list option "set the values of a field on", I do not see my fact, hence I can't access it to set the value I want.
 
I get the same behaviour using both Eclipse and BRMS guided rule editors, e.g. my Fact bean is accessible in the LHS but not the RHS?
 
I've read and re-read the user guides and documentation, and tried using the supplied example Drools projects as the basis of some guided rules, but I always get the same result.
 
Any suggestions much appreciated.

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

 

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users