[rules-users] String as an argument

Khalil Hafsi hafsi at fzi.de
Fri Feb 5 12:37:38 EST 2010


Hi Guys,

I am using Drools fusion 5, My "Event" class // @role (event) // has a
string parameter "id" , however if I try to do :

//
Rule ..
..

$a : Event(id == "a")
then
//do something
end


It complains about "Conversion from double is not supported in
java.lang.String" , is there any way to make it accept String arguments ?

Thanks,
K.H-



More information about the rules-users mailing list