[rules-users] 'else' in rule
Mark Proctor
mproctor at codehaus.org
Thu Aug 18 05:40:48 EDT 2011
On 18/08/2011 10:26, snehils wrote:
> Hi All,
>
> I want to take action when the condition in WHEN fails. Something like as
> follows:
>
> WHEN
> <Condition>
> THEN
> <Action>
> /ELSE
> <Action when Condition fails>/
for now you will need to do it as two rules. We are looking into adding
else, probably later this year.
Mark
>
> Is it possible to have else part in rule? Or I have to make another rule for
> failed condition?
> I am using Drools 5.1.0 version.
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/else-in-rule-tp3264337p3264337.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
More information about the rules-users
mailing list