How to get the last item of itteration?

@ledi12
I am not sure if I understood you right, but you are looping over an output from find children?

  • retrieving the count
  • looping getting the last

Both can be done within an assign activity

count: YourFindChildrenOutputVariable.Count
Last Item: YourFindChildrenOutputVariable.Last

A particular item: YourFindChildrenOutputVariable.ElementAt(ItemPositionIndexInTheList)

1 Like