[rules-users] Having an else part
Mark Proctor
mproctor at codehaus.org
Tue Jul 17 07:35:45 EDT 2007
we currently recommend that you figure out the specific rules for that
else part, and write them seperately.
Mark
Natraj Gudla wrote:
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070717/cb7e70dd/attachment.html
More information about the rules-users
mailing list