<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Jason, <br>
for fact types and attributes you should be able to reuse the
Functions keyword in the RuleSet section of your sheet, for example:<br>
<br>
-----------------------------------------------<br>
| Functions | declare Person @author( Bob ) ......... end |<br>
-----------------------------------------------<br>
<br>
For rule attributes you can reuse the "I" keyword as the cell header
and add the attributes, for example:<br>
<br>
-------------------------------------------------<br>
|RuleTable Sample| |
|<br>
-------------------------------------------------<br>
| Condition | I |
Action |<br>
-------------------------------------------------<br>
| $p : Person | |
|<br>
-------------------------------------------------<br>
| name==$param|
| |<br>
-------------------------------------------------<br>
| SomeName | @author( Bob ) | System.out..... |<br>
-------------------------------------------------<br>
<br>
Neither are optimal, but just workarounds. If you raise a Jira, I
can put on todo list.<br>
Hope this helps.<br>
<br>
Thanks.<br>
Tihomir<br>
<br>
On 1/7/11 9:35 PM, Jason Mihalick wrote:
<blockquote cite="mid:1294454101022-2215160.post@n3.nabble.com"
type="cite">
Tihomir,
Do you know if decision tables support <a moz-do-not-send="true"
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e3368"
target="_top" rel="nofollow" link="external">metadata</a>?
<br>
<hr width="300" align="left">
View this message in context: <a moz-do-not-send="true"
href="http://drools-java-rules-engine.46999.n3.nabble.com/Need-help-with-Decision-Table-Conditions-tp2195003p2215160.html">Re:
Need help with Decision Table Conditions</a><br>
Sent from the <a moz-do-not-send="true"
href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-User-f47000.html">Drools
- User mailing list archive</a> at Nabble.com.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>