For each row in data table - Add Data Row: Object reference not set to an instance of an object


I want to add currentRow to DT_result(datatable)
but Add Data Row: Object reference not set to an instance of an object. error occured.
please help. how can I fix it?

Hi @numberkite

Welcome to Uipath community

Try to give like this {CurrentRow}

image

Check whether the Dt_result is assign properly?

Regards
Gokul

Thanks alot.
But It doesn’t work even I added assign part and modify into {currentRow}…

Try with this syntax @numberkite {Currectrow(0).Tostring}

Can you tell what do you need to achieve?

Regards
Gokul