How to add items to a list?

Hi,

In UiPath.System.Activities 22.10.3, we can use AppendItemToList activity, as the following.
It’s easy to use like AddToCollection if target type is List<T>.

If you need to handle Collection<T> , AppendItemToCollection will work.
Please note that if we want to update the input list, it’s necessary to set it at Output-Result property, too, as the following.

Regards,

5 Likes