one more question?
I can use functions on my LHS in decision tables?
---------
function String getName(String value) {
if (value!= null )
return value.split("-")[0].trim();
}
return null ;
}
-------------
In my decision table
CONDITION
caEventDO.setPersonCode(getName("$param"))
DT - David Thomas
GW - Gabriel Williams
-----------
Can we do this?
When I try to do this I get the following error -
no viable alternative at input 'getName' in rule "_12" in pattern
...blah...blah
Thanks
--
View this message in context:
http://n3.nabble.com/Is-this-possible-in-Guvnor-tp122132p132103.html
Sent from the Drools - User mailing list archive at
Nabble.com.