<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I am implementing a decision table that looks like:<br>
<br>
<table border="1" cellpadding="2" cellspacing="2" width="300">
<tbody>
<tr>
<td valign="top"><b>CONDITION</b><br>
</td>
<td valign="top"><b>ACTION</b><br>
</td>
</tr>
<tr>
<td valign="top"><b>$p : Person</b><br>
</td>
<td valign="top"><br>
</td>
</tr>
<tr>
<td valign="top"><b>name == "$1"</b><br>
</td>
<td valign="top"><b>retract($p);</b><br>
</td>
</tr>
<tr>
<td valign="top"><b>Person name</b><br>
</td>
<td valign="top"><b>Retract the person</b><br>
</td>
</tr>
<tr>
<td valign="top">Fred<br>
</td>
<td valign="top">N/A<br>
</td>
</tr>
<tr>
<td valign="top">Kenny<br>
</td>
<td valign="top">N/A</td>
</tr>
</tbody>
</table>
<br>
The problem is generated rules have an empty RHS unless I put a
string (here N/A) on each line of the Action column, and I'd like to
hide this column in my final spreadsheet.<br>
<br>
Does anyone know a way to instruct Drools to generate the LHS even
if the cell is empty?<br>
If it is not possible, do you know any Excel trick to automatically
fill the Action cell with an arbitrary value (here N/A) when a new
line is inserted in my table?<br>
<br>
Many thanks in advance for your help,<br>
Best regards,<br>
<br>
Bruno.<br>
</body>
</html>