[rules-users] Import Functions in Guvnor
Pankaj Khattar
pankaj.khattar1 at alcatel-lucent.com
Wed Dec 1 00:24:51 EST 2010
Can anybody share that how to import java function in the guvnor & use them
in writing rules in guvnor.
For example i have a drl file in which i have
import function com.alu.ae.ais.smp.fm.drools.service.Function.delayAlert;
in which 'Function' is the class & 'delayAlert' a method in the class, the
rule is as
rule "Delay Alert"
no-loop true
dialect "mvel"
lock-on-active
when
then
delayAlert(<method parameter>);
end
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Import-Functions-in-Guvnor-tp1997244p1997244.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list