<div dir="ltr">Did you import java.util.List (in Project Editor&#39;s &quot;Import suggestions&quot; and then on the editor&#39;s &quot;Config&quot; tab)?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 July 2014 13:10, sumit dhaniya <span dir="ltr">&lt;<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">listIf I use model classes created in JAVA with some java.util.List it identifies them as Collection(superclass of List) and then list options like size,first,last doesn&#39;t show up. Is there any way I can force these objects as type of List.</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Yes.</p>
<p dir="ltr">Create a BRL Condition column and use an expression on the List pattern.</p>
<p dir="ltr">Sent on the move</p><div><div>
<div class="gmail_quote">On 9 Jul 2014 19:21, &quot;Sumit Dhaniya&quot; &lt;<a href="mailto:sumitdhaniya@gmail.com" target="_blank">sumitdhaniya@gmail.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">


I know we can check size of list if we write free form drl but is it possible<br>
to use size of the list as condition in guided decision table?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.html" target="_blank">http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.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" target="_blank">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>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br></div>
</div></div><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><br></div>