[rules-users] Having an else part

Natraj Gudla natraj.forums at gmail.com
Tue Jul 17 07:02:21 EDT 2007


When writing a rule, how do i deal with a scenario to do an action when a
condition is not true. If i have a business need like

IF COND1 is true
   DO Action1
ELSE
   DO Action 2

I feel with drools we only check for the condition in when part and incase
it fails, we dont have a way to call another action. Any idea??


Thanks
Natraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070717/40335a5b/attachment.html 


More information about the rules-users mailing list