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 <http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e3368>?
------------------------------------------------------------------------
View this message in context: Re: Need help with Decision Table Conditions <http://drools-java-rules-engine.46999.n3.nabble.com/Need-help-with-Decision-Table-Conditions-tp2195003p2215160.html> Sent from the Drools - User mailing list archive <http://drools-java-rules-engine.46999.n3.nabble.com/Drools-User-f47000.html> at Nabble.com.


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to