I’m trying to do the Get Started with RPA Development activity (the “Build your first process part 1”) and at some point it shows me the error “Index was outside the bounds of the array” but I’m using their excel file so I have no idea why that’s happening!
It runs fine until the “Jessie” line so I have no idea how to fix it! =(
Hi @beatorres2
Simple you are putting First name and second but in row 5 and 7 you have no second name.
Here your string going out off Bond…put some dummy then run it.
It will run correctly.
When you are sipliting Name coloumn for First name its getting data but for second its going out of bond
Sol:
Put if condition
In condition put → row.item(“Name”).Split(" "c).Count.ToString =“2”
Then put Type into Last name activity in If-then block.
If I had to guess, it’s your “Type Into ‘Last Name’” activity with the split. You are specifically referencing index (1) but when there is no space in the Name, there is no array element with index (1). So index (1) is outside the bounds of the array.