How can i fix index out of bound of array

l got stuck in client security hash assignment which is in advance training. I am facing issue in index out of bound of array dude tho which all of “Client Security Hash” status is “Complete” except the last one. I saw other forum related to this issue and it didn’t help.

Here i assign TransactionNumber as 0 because the indexing of the array starts with 0


Welcome to the uipath community.

Then write condition in IF activity like this:

             TransactionNumber < TransactionData.Rows.Count

Hey Lakshman,
I did what you said but unfortunately it’s throwing an error


It’s looks like you declared dt_workitem as Array of Datarow. Then condition should be like this.

         in_TransactionNumber < dt_workitem.Count
1 Like