Assign TransactionID: Index was outside the bounds of the array. Level 3 UiPath

Hey guys! So how to resolve this error?


Capturar11

Hi @Brenosants,

Since the datatable starts with index 0, the transaction number starts with 1 and gets incremented after processing each transaction. The assign has to be:
out_TransactionItem = dt_WorkItems(in_TransactionNumber -1)

Regards,
PD

1 Like

I am facing the same error. I have try to change out_TransactionItem = dt_WorkItems(in_TransactionNumber -1) but not help.

Please help to check what is the wrong on my task.

https://drive.google.com/drive/folders/1bE1eazXdQSFmWp6Z5dYLfWH-8km0_DUW?usp=sharing

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