[rules-users] Calling a function from When part
RulesUsers
agrawalmanisha26 at gmail.com
Thu Aug 2 03:14:52 EDT 2012
Hi All,
As per as my understanding, we cannot call a function from the when part of
a rule.
But my requirement is,
*/function boolean sampleFunction(){
//do something
return true/false;
}
rule "sample"
when
sampleFunction();
then
//Take some action
end/*
Thanks in advance.
Regards,
Sam
--
View this message in context: http://drools.46999.n3.nabble.com/Calling-a-function-from-When-part-tp4018987.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list