[rules-users] accessing hashmap from condition on decision table
Knapp, Barry
barry.knapp at railinc.com
Wed Dec 3 08:14:13 EST 2008
You may want to wrap your map in another class that you assert into the
engines working memory.
Then you can access the contents of the map with an eval
eval(myMapWrapper.get("KEY").equals("SOME_VALUE"))
Barry
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Sascha
Sent: Wednesday, December 03, 2008 7:32 AM
To: Rules Users List
Subject: [rules-users] accessing hashmap from condition on decision
table
i got a java class with a hashmap containing string keys and values.
i want to access the values from a condition on a decision table.
e.g. map.get("mykey")
how can i do this?
i tried but got an
unknown:7:50 Unexpected token
error.
greetings sascha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081203/288f0056/attachment.html
More information about the rules-users
mailing list