[rules-users] condition on size of list

sumit dhaniya sumitdhaniya at gmail.com
Thu Jul 10 08:10:04 EDT 2014


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 at 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 at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140710/2eaa3924/attachment.html 


More information about the rules-users mailing list