But take care, this replaces *all* occurrences of the words NEW and OLD.
-W
On 16/05/2012, FrankVhh <frank.vanhoenshoven(a)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-tp3997081p39...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users