Select last object in list of object

Hi there

I have a list of objects. How can I select the last item in the list?

I thought maybe I could use LAST_ITEM but I get the error message that object type is not assignable to list type.


LastItem = List[COUNT(List)-1]

1 Like


LAST_ITEM would be the correct formula, but the error suggests that you are trying to assign the last item (an object) to a list type variable (list of objects). Make sure you are storing the LAST_ITEM in aa object type variable.

1 Like