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

datatable

#1

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?


#2

Please attach your workflow.


#4

Please try use dummy value first


#5

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


#6

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)