[rules-users] Multiple conditions in a single BRL

2012-01-17 Thread srinivasasanda
Hi, Please suggest me in achieving my requirement.My requirement is. When Person age is equal to 25,Print 25 and return 25..else if Person age is equal to 30,Print 30 and return 30,else if Person age is equal to 50,print 50 return 50.. How can I write these nested type of if-else statements

Re: [rules-users] Multiple conditions in a single BRL

2012-01-17 Thread Wolfgang Laun
rule 25/30/50 when Person( $age: age == 25 || == 30 || == 50 ) then System.out.println( $age ); end Asking for return is futile. -W On 17/01/2012, srinivasasanda srinivasasa...@gmail.com wrote: Hi, Please suggest me in achieving my requirement.My requirement is. When Person age is