Conversion of Data table to Entity


I’m working on a UI Automation where I need to extract data into a data table and then store it into an entity, so that I can use that entity as a data source for Edit Grid in my UI Path app.
But as I was trying to convert the data table into entity, I was required to change it into a collection, then add it into the entity.
The problem here is in the new update, I’m unable to find Add Collection activity.

So can anyone suggest any ideas to convert a data table into an entity?

Thanks in advance!

Have a look at this activity:

myList = myList.Append(myItem).toList

Appending to a Collection means that there needs to be at least one item in the collection to append another right?
Or is it possible to add items even if there aren’t any items in the collection?

we can also use an empty collection at the begin

myList = new List(Of MYDATATYPE)()

1 Like

Also take a note at this activity:

1 Like

This is the final process I did… referred to a tutorial from YouTube and used “Append Item to List” activity in the place of “Add to Collection” activity.

YouTube tutorial I used :

Thanks for the response!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.