Overwrite data row in assign activity OR pass data row as an argument

Dear all,

I have an issue with data row. When I try to pass it as an IN/OUT argument, it does not work. Meaning, If I write into arguments of an “Invoke workflow file” activity DT.ROWS(counter) then it does not work.

When I assign a data row variable ROW=DT.ROWS(counter) and pass it in arguments it works. But I am not able to assign it back after the “Invoke workflow file”, meaning DT.ROWS(counter)=ROW, that it does not work.

ANy solution?

Please attach your workflow.

Please try use dummy value first

comment.xaml (4.8 KB)
ProcessingInvoice-2ndRound - Copy.xaml (19.5 KB)

Or, when I use it directly, I have different error: Invoke workflow file: UiPath.Core.Activities : Cannot create an L-value from the given expression with property ‘get_Item’ because the target object is null

comment.xaml (4.8 KB)
ProcessingInvoice-2ndRound - Copy.xaml (18.1 KB)

ProcessedDT.Rows(0) is get property. You cannot set it. Even I am facing the same issue. Why can’t we directly assign the DataRow from the DataTable to In\Out variable ?