Did you import java.util.List (in Project Editor's "Import suggestions" and then on the editor's "Config" tab)?


On 10 July 2014 13:10, sumit dhaniya <sumitdhaniya@gmail.com> wrote:
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't show up. Is there any way I can force these objects as type of List.


On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis <michael.anstis@gmail.com> wrote:

Yes.

Create a BRL Condition column and use an expression on the List pattern.

Sent on the move

On 9 Jul 2014 19:21, "Sumit Dhaniya" <sumitdhaniya@gmail.com> wrote:
I know we can check size of list if we write free form drl but is it possible
to use size of the list as condition in guided decision table?



--
View this message in context: http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users