[rules-users] Unable to access setter fields of fact in RHS using guided rule editor

David Godfrey davidgodf at gmail.com
Mon Mar 10 08:26:57 EDT 2008


Yes, that fixed it, many thanks.

On 3/10/08, Mark Proctor <mproctor at 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 listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080310/4978c957/attachment.html 


More information about the rules-users mailing list