The syntax of the conditions looks downright wrong.
I suggest that you learn DRL, write the rule you think you need in
DRL, test it, and when it works, begin to develop the spreadsheet.
Come back to the list whenever you have a problem - but don't ask
people on the list to be compilers or parsers.
-W
On 03/09/2012, qwertyqwerty <sol_987(a)hotmail.com> wrote:
could anyone point me in the right direction with this
I have my arraylist of objects (object contains name, value, response). I
want to loop through the list and set the response on the object based on
the names, values. Below is my go at setting this up. Can somone take a
look and see if this would work?
CONDITION CONDITION
ACTION
Test()
t:TEST() (t.name == $param) from t t:TEST() (t.value == $param) from
t.setResp("$param")
a 1
TRUE
b 2
TRUE
c 3
FALSE
--
View this message in context:
http://drools.46999.n3.nabble.com/Decision-Table-Help-tp4019281p4019550.html
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