Hi Frank<br><br>Join C8:F8 and change the contents to<br> a:Assignment() and w:Weather<br>all conditions deal with Weather - they'll be inserted into the last pair of parentheses that will be added to Weather. (The "and" is redundant as it is implied for patterns at the outermost level. There should be a single Assignment fact, and I guess there is only one Weather.)<br>
<br>I would not add an update(a) to each individual action; another ACTION column with $param; in row nine and "update(a)" in all rows below lets you remove the repeated "update(a)" from H9:J9. (But this is, perhaps, a matter of taste.) <br>
<br>Cheers<br>Wolfgang<br><br>PS: Regretfully, this set of rules is going to be late for this winter ;-)<br><br><br><br><div class="gmail_quote">On 27 December 2010 10:23, FrankVhh <span dir="ltr"><<a href="mailto:frank.vanhoenshoven@agserv.eu">frank.vanhoenshoven@agserv.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi all,<br>
<br>
I am a brand new user of the Drools-tools and am not quite comfortable with<br>
the tools yet. The current problem I am having, is caused by an "Unknown<br>
parsing error" in a decision table.<br>
<br>
>From past experience, I guess I have made a syntax error somewhere in the<br>
file. However, I am not able to detect the error myself. Probably it is a<br>
quite simple mistake, caused by a combination of inexperience and<br>
neglectance :-).<br>
<br>
I figured I could use an extra pair of eyes and was hoping that some<br>
friendly community member could help me out on this.<br>
<br>
I will annex the table as well as the java code that contains the java<br>
classes (the table isn't callad from the code yet).<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/file/n2150980/strooidiensten.java" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/file/n2150980/strooidiensten.java</a><br>
strooidiensten.java<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/file/n2150980/clearance.xls" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/file/n2150980/clearance.xls</a><br>
clearance.xls<br>
<br>
Thank you very much in advance!<br>
<br>
Kind regards,<br>
<br>
Frank<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Decision-Table-tp2150980p2150980.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Decision-Table-tp2150980p2150980.html</a><br>
Sent from the Drools - User 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>
</font></blockquote></div><br>