I have an existing data table with more than 10000 rows and I want to add a new data column with auto increment functionality. I tried Auto increment option in add data column uipath activity but it is not setting any value. I can loop through the rows and increment it but it is taking very long time.
Is there any other way this can be solved. Appreciate the help!
The autoincrement property is only applied to newly added rows.
On the image below
Get the source table (from your own source, i.e. Excel)
Clone the datatable to your final table.
Add a new column to your final table setting the autoincrement.
Iterate the source table and add each row into the final table. You can pass the values as an array, leaving empty the value for the increment, this is achievable using CurrentRow.ItemArray BlankProcess_ForumHelp.zip (3.3 KB)
.