In this article, we will walk through the steps to remove empty rows in a table in UiPath.
Goal: Remove empty rows from dataTable
Step-by-step solution
-
Drag and drop the ‘Filter Data Activity’ into your workflow
-
At DataTable field, input the name of your dataTable
-
Click on Configure Filter button
- After clicking ‘Configure Filter’, the Filter Wizard window will pop up
- Select ‘Remove’ radio button as we are removing rows from the table
- In Column field, input column number (if first column number, then input 0, second column, input 1, etc.)
- In Operation field, select ‘Is Empty’
- After closing the ‘filter wizard’, we need to tell UiPath what variables to save our filtered dataTable. You can put our input dataTable in this field to ‘update’ our original table.