[rules-users] if else implementation in one rule

Kripa Nathwani Kripa.Nathwani at lntinfotech.com
Thu Sep 9 02:28:14 EDT 2010


Hello,

I need to implement a functionality as follows:
If an employee belongs to a particular state(MH) for a particular month(Feb) then take an action.
If an employee belongs to the same state(MH) but for different month (non Feb) then take another action.
I can implement it using two different rules(Feb rule and nonFeb rule). BUT if I want to implement it using a single rule is there any provision for the same in Drools?
Similar to an if-then-else statement in java.

Best Regards,
Kripa


________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100909/90ada715/attachment.html 


More information about the rules-users mailing list