[rules-users] condition on size of list

Michael Anstis michael.anstis at gmail.com
Thu Jul 10 09:38:09 EDT 2014


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 at 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 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
>>
>
>
> _______________________________________________
> 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/0f1221ee/attachment-0001.html 


More information about the rules-users mailing list