Yes, all the decision table compiler does is convert the cells into a drl file
by doing some string manipulation, all it does with $param is do a string
replace, so if you end up with a valid statement after the replacement has been
done you can do whatever you like. Similar as you are suggesting some of our
rules are constructed like field $param 0 where the cell values are either ==,
= etc.
Thomas
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wishing Carebear
Sent: 08 July 2011 14:54
To: Rules Users List
Subject: [rules-users] Can eval($param) be used as condition in the Spreadsheet
decision table?
Is it possible to put eval($param) as Condition in the decision table so that
the cells can have flexible values.?
Thanks.
**
This message is confidential and intended only for the addressee. If you have
received this message in error, please immediately notify the
postmas...@nds.com and delete it from your system as well as any copies. The
content of e-mails as well as traffic data may be monitored by NDS for
employment and security purposes. To protect the environment please do not
print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX,
United Kingdom. A company registered in England and Wales. Registered no.
3080780. VAT no. GB 603 8808 40-00
**
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users