Assign: Exception has been thrown by the target of an invocation.Assign

Hi All,

I have extracted data and stored in DataTable.

Then used For Each Loop to make the make the second row as column header

I have used assigned activity inside for each loop .
current_item.ColumnName=ExtractDataTable_CreditMemo.Rows(0)(current_item.ColumnName).ToString but getting error "Assign: Exception has been thrown by the target of an invocation.Assign "

Silly question, but did you try debugging to ensure that your table has rows?

HI,

Can you check content of $exceptionDetails at Locals panel when error occurs in debug mode?
There is detailed information of this exception.

Regards,