[rules-users] How to do operator such as " is one of ("xx", "yy", "zz") in a decision tablee
vadlam
sreeram.vadlamudi at wellsfargo.com
Thu Apr 8 15:23:39 EDT 2010
some additional info on this.
when I try to use literal as the Calculation Type, I get an operator choice
of " is contained in the a (comma separated )list. This will let me select
only one of the values entered in the dropdown List.
when I do ViewSource , I see the above being converted as
yearOfOccurence in ("2010")
I want to be able to select more than one of those in the list .
evn though not as a dropdown, I tried to see if the below would work.
I tried to use predicate as the calculation Type and enter the expression as
follows:
yearOfOccurence in {"2010","2011"}.
This compiles fine, but throws an error when running the test scenario.
I tried yearOfOccurence in ("2010","2011")
This throws error at compile time.
--
View this message in context: http://n3.nabble.com/How-to-do-operator-such-as-is-one-of-xx-yy-zz-in-a-decision-tablee-tp706475p706769.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list