From the course: UiPath: Robotic Process Automation (RPA)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Add data table rows

Add data table rows

- In a previous lecture, we used an activity to create a data table. Now, let's try to add rows to that data table. Adding rows to a data table is pretty simple. We'll go to activities, type in table, grab this 'Add Data Row' activity, and drag it into our sequence. The first thing we're going to want to supply over here in the properties pane is which data table we're going to add the data row to. So, for that we click on our data table, copy the data table's name, select our data row activity, and paste in that data table name there. To actually add the row data, we need to make sure that we know how many columns there are and what data types. So, clicking on this data table button, we can see that we've got a first name, last name, both of which are strings, and we've got this age, which is a number, and our email address, which is also a string. So, 'Add Data Row' allows us to either pass in a data row object or an array of objects. I'm going to choose this first option for now…

Contents