Add Data Row: Classic vs Legacy

Hi Friends

I was working on UiPath Academy, “DataTables and Excel Automation With Studio”.

There is a step: add data row under “for each row” as per below screen, where properties - ArrayRow is to enter “row.ItemArray” as below. The purpose is just to copy data in an excel and paste it into another.

image

image

However, when I was hands-on and tried to repeat the steps, it seemed the tutorial was using the legacy version, and my studio’s classic “add data row” panel is different per the below screen.
image

QUESTION: What should I enter into the area highlighted in PINK? I can’t leave it empty nor enter the same “row.ItemArray” following the legacy version, as both were giving me error messages.

Appreciate your help and advice. Many thanks.

Hi @Vincent_Shoshin

You need to add values or variables that you want to add like this

image

For more info: https://youtu.be/RkONWTcJh24?si=nVkN5A7Knsbb-0sQ

https://docs.uipath.com/activities/other/latest/workflow/add-data-row

Hope this helps :slight_smile:

Hi @Vincent_Shoshin

have you tried currentrow.itemArray?

image

Regards
Sudharsan

You need to specify the same name which is in the Item field

If you want to use custom name you can modify the item field and use them in add datarow
image

Regards
Sudharsan

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