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.
Difficult: Delete a data table row - UiPath Tutorial
From the course: UiPath: Robotic Process Automation (RPA)
Difficult: Delete a data table row
- [Instructor] In the previous videos, we have created a data table, added rows, looped through the rows and examined the contents. Now let's go ahead and see how to delete a table row. Here inside the robot, I'm building a table and adding two rows, so let's go ahead and copy and paste that row and add one that we can delete. So for FirstName, I'll just say Delete, SecondName Me. So now we're going to have three rows in our database. And inside here in the for each, I'm going to leave this for each row as it is, and I'll Control + C to copy it, and paste it one more time here. So now we're going to loop through our data table two times, but in this first one, after I log the message, I'm going to go into my Activities here and use remove data row and drop it right there. So as usual, it's asking me which data table are we going to delete from, so that's this guy right here, MyDataTable. I'll paste that in. It's asking which row do we want to delete. If I have the RowIndex, I could…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Introduction to data tables1m 51s
-
(Locked)
Tour of data table activities2m 49s
-
(Locked)
Create a data table5m 24s
-
(Locked)
Edit data table columns (version 2018.3+)1m 15s
-
(Locked)
Add data table rows3m 16s
-
(Locked)
Loop through the rows of a data table7m 30s
-
(Locked)
Query the table9m 24s
-
(Locked)
Difficult: Delete a data table row10m 23s
-
(Locked)
-
-