But take care, this replaces *all* occurrences of the words NEW and OLD. -W
On 16/05/2012, FrankVhh <frank.vanhoensho...@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users