cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
mcalderonm236
Nintex Newbie

Error: Index property is greater than the number of items in the collection.

I have working with a workflow to build a repeating section.

I have a collection (coll_BusinessUnit) where I get all items when ID is the same.

When the workflow is within the For Each, it suspends and I get the following error: Index property is greater than the number of items of item collection.

I have a counter for the collection, and it counts 10 items. I tried to set the variable to 0 and sum 1 in the For Each, but it doesn't work.

Any idea?

Labels: (2)
0 Kudos
Reply
2 Replies
Automation Master
Automation Master

Re: Error: Index property is greater than the number of items in the collection.

This is interesting. Are you removing anything from the Collection inside of the For Each loop? 


0 Kudos
Reply
jpmhuls
Nintex Newbie

Re: Error: Index property is greater than the number of items in the collection.

Is numIndexBU maybe used to get the index in the ForEach action? If so, adding 1 will put the index too high for the ForEach to normally terminate.

Or are you using numIndexBU to get an element from another collection (which has lesser items)?

0 Kudos
Reply