[rules-users] use of enum with "in" on LHS

Wolfgang Laun wolfgang.laun at gmail.com
Wed May 16 10:28:25 EDT 2012


But take care, this replaces *all* occurrences of the words NEW and OLD.
-W

On 16/05/2012, FrankVhh <frank.vanhoenshoven at agserv.eu> wrote:
> Hi,
>
> Unless there is another workaround, I think you would have to do it
> something like this:
>
> [*][when]the received object=result : RulesResult();$stm : Report()
> [*][keyword]NEW=State.NEW
> [*][keyword]OLD=State.OLD
> [*][when]- state is {stateList}=state in ({stateList})
>
> Regards,
> Frank
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/use-of-enum-with-in-on-LHS-tp3997081p3997136.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