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

FrankVhh frank.vanhoenshoven at agserv.eu
Wed May 16 09:57:49 EDT 2012


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.


More information about the rules-users mailing list