[rules-users] Use of if else condition in drools

Mark Proctor mproctor at codehaus.org
Thu May 31 09:08:27 EDT 2007


Simply identify the logic the "else" is trying to capture and write an 
alternative rule to represent it.

Mark
Rajesh.Sachin10 wrote:
> How to use if else conditions in one [when] [then] condition in drools?
>
> Eg: if(something){ do 1}
>       else {do 2}
>
>
> I need to use only one [when] [then] condition. The requirement is like
> that.
>
>   




More information about the rules-users mailing list