Got the solution thanks

garima015 wrote:
> 
> I have a function call in drl file and i want to pass the rule name of the
> rule calling it..
> Is there any functionality in Drools so that rule name can be obtained or
> everytime i have to pass the rule name as string on call of function. 
> Will be thankful if somebody can help me.
> ex.
> 
> rule "RULE0"
>       when
>          m : TransactionBean(SNDRFIRSTNAME != "")
>       then
>        MANDATORY_ALPHABET(m,"SNDRFIRSTNAME",2,10,"XYZ",100,000,"RULE0");
> 
> end
> 
> Thanks in advance
> 

-- 
View this message in context: 
http://www.nabble.com/Rule-Name-in-Drl-tf2882699.html#a8054450
Sent from the drools - dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to