<p dir="ltr">If you click on the grey horizontal splitter on the decision table header you should see the template key names. </p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 13 Aug 2013 20:54, &quot;dunnlow&quot; &lt;<a href="mailto:dunnlow@yahoo.com">dunnlow@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My long lived templates have stopped working (I click the Load Template Data<br>
button and nothing happens) -- I have seen this issue in Jira spanning<br>
several versions (with associated &quot;fixes&quot;).  Oh well.<br>
<br>
Anyway, I&#39;ve decided to re-implement using a decision table, which I heard<br>
can duplicate the same functionality.  I&#39;m close but can&#39;t get past one<br>
issue.<br>
<br>
I&#39;m using Drools 5.5, and building the decision table in guvnor.<br>
<br>
I am trying (as an Action) to create a new object, assign some of its<br>
variable using a few different columns in the table, and then insert it.<br>
There are at least 5 values that I want to assign, so I don&#39;t want to cram<br>
something like &quot;1,123.31,TRUE,2,BROWN&quot; in a single cell -- I want each of<br>
those fields to have their own cell with a header.<br>
<br>
The resulting code should look like:<br>
<br>
TravelEvent $te = new TravelEvent();<br>
$te.setStartTag({value from &quot;start&quot; column});<br>
$te.setEngTag({value from &quot;end&quot; column});<br>
$te.setOneWay({value from &quot;oneway&quot; column});<br>
.<br>
.<br>
insert($ne);<br>
<br>
I&#39;ve tried putting it all into an action BRL that looks like:<br>
<br>
THEN<br>
   Insert TravelEvent [$te]:<br>
       startTag  $start<br>
       endTag    $end<br>
<br>
That creates a column for those values, but no headings.  Thus it is only<br>
somewhat better than a comma separated list.<br>
<br>
Has anyone tackled this issue before?<br>
<br>
Thanks for any thoughts,<br>
-J<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Duplicating-template-capability-in-decision-table-tp4025528.html" target="_blank">http://drools.46999.n3.nabble.com/Duplicating-template-capability-in-decision-table-tp4025528.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>