There is a separate drools.net mailing list.
http://xircles.codehaus.org/projects/droolsdotnet

Mark
Fernando Silva wrote:
Hi all
I am trying to use drools.net <http://drools.net/>  in my project (C#).
However i have a problem when i try to use a C# method on the RHS.
I apreciate if someone can help me.
My DRL file:

rule "rule1"

when

item : Item(Identification == "item1", Constraint == false)

then

item.Value = 10;

end

And i have also Item class with Identification, Value and Constraint properties.

When i use item.Value i have an error ("The rule called rule1 is not valid").

How can i access to a c# method or property within a rule? I want that this rule changes a specific atribute.

Thanks

Fernando


Reply via email to