[rules-users] Drools Decision Table, multiple actions accumulation
Michael Anstis
michael.anstis at gmail.com
Fri Jun 1 17:14:02 EDT 2012
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 at 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-accumulation-tp4017733p4017736.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120601/166e9ce3/attachment.html
More information about the rules-users
mailing list