Insert a value to an existing table in a new column

Hello Guys,
I am having a datatable stored in a DT variable and I want to insert a value on another column from the existing table. How can this be done?

1 2 3
4 5 6

I want to add value x to table on each row in a new column:
1 2 3 x
4 5 6 x

Hi @Ionut_Frincu1

Welcome to UiPath Community!

Create a data column with new column name using “AddDataColumn” Activity
Use for each row activity and just assign currentrow(“newcolumnvalue”) = your value


Thank you! :slight_smile:

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