Hi Jason,
for fact types and attributes you should be able to reuse the
Functions keyword in the RuleSet section of your sheet, for example:
-----------------------------------------------
| Functions | declare Person @author( Bob ) ......... end |
-----------------------------------------------
For rule attributes you can reuse the "I" keyword as the cell header
and add the attributes, for example:
-------------------------------------------------
|RuleTable Sample| |
|
-------------------------------------------------
| Condition | I |
Action |
-------------------------------------------------
| $p : Person | |
|
-------------------------------------------------
| name==$param|
| |
-------------------------------------------------
| SomeName | @author( Bob ) | System.out..... |
-------------------------------------------------
Neither are optimal, but just workarounds. If you raise a Jira, I
can put on todo list.
Hope this helps.
Thanks.
Tihomir
On 1/7/11 9:35 PM, Jason Mihalick wrote:
Tihomir,
Do you know if decision tables support metadata?
View this message in context: Re:
Need help with Decision Table Conditions
Sent from the Drools
- User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users