Update DataRow not updating

Hi,

I am trying to update a datarow item but it isn’t reassining the value.
My Workflow:

ForEach CurrentRow in dtMyDataTable
Assign variable tempRow = current row

Functions translate and append the translations to a variable called appendedTranslation

tempRow.ItemArray(22) = appendedTranslation

Log Message: tempRow.ItemArray(22) → returns the original value not the reassigned.

I have tried assigning the appendedTranslation variable to tempRow.Item(“HeaderName”) but this also isn’t updating.

Any thoughts on where I am going wrong?

I am having to do this for multiple fields per row as well hence pulling it into a temp variable before going back to update the output data table.

@Joshua_Allan_0
Hello

Have you tried an Update Data Row activity?

regards

Ahh much easier of doing it! That seems to have fixed it thanks

1 Like

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