You cannot merge multiple ACTION columns into a single DRL statement.
If your individual key components can be bound as individual CONDITION
Colum constraints the ACTION need only contain the value.
sent on the move
On 1 Jun 2012 21:18, "chsekhar" <chandrasekhar.a(a)gmail.com> wrote:
In the example you had given, how would I be able to pass
"keys" from one
ACTION to another in "decision table"? It cant be a global variable because
this(keys) has to be a new instance per row. Is there some mechanism in
decision table which would let me refer the values from column into
another?
KeyPojo keys = new KeyPojo();
keys.setKey1(...);
...
keys.setKeyk(...);
...
keys.setKeyN(...);
$myMap.put(keys, value);
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Decision-Table-multiple-actions-...
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