<br> Khalil,<br><br> Drools does support strings, as it should. Something else is going on there. I assume you have a proper: public String getId() method.<br><br> All I can suggest is for you to open a jira and attach a test case to reproduce the problem.<br>
<br> Edson<br><br><div class="gmail_quote">2010/2/5 Khalil Hafsi <span dir="ltr"><<a href="mailto:hafsi@fzi.de">hafsi@fzi.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys,<br>
<br>
I am using Drools fusion 5, My "Event" class // @role (event) // has a<br>
string parameter "id" , however if I try to do :<br>
<br>
//<br>
Rule ..<br>
..<br>
<br>
$a : Event(id == "a")<br>
then<br>
//do something<br>
end<br>
<br>
<br>
It complains about "Conversion from double is not supported in<br>
java.lang.String" , is there any way to make it accept String arguments ?<br>
<br>
Thanks,<br>
K.H-<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>