The excel file has a total of 2000 records
Column A: IP
Column B: Account
Column C: Password
UiPath process as shown in the picture
EXCEL assigns columns
Open chrome
Enter IP
Enter account
Enter password
If one of the processes fails (maybe connection failure, password error, can’t find the button), UiPath will be interrupted
I want to execute the next column of excel directly if an error occurs
adoration50:
The excel file has a total of 2000 records
Column A: IP
Column B: Account
Column C: Password
UiPath process as shown in the picture
EXCEL assigns columns
Open chrome
Enter IP
Enter account
Enter password
If one of the processes fails (maybe connection failure, password error, can’t find the button), UiPath will be interrupted
I want to execute the next column of excel directly if an error occurs
As per my understanding, you can use the For Each Row in DataTable activity to loop through all 2000 records in the Excel file.
Inside the loop, you should wrap the automation logic (open Chrome, enter IP, account, password, click login) inside a Try-Catch block .
In the Try block:
Your logic
In the Catch block:
Use the Kill Process activity (e.g., to kill chrome.exe) if necessary.
Log the error using Log Message activity or write the error to a new column in the same row (like Status = "Failed: <error>").
This ensures the robot doesn’t stop and moves on to the next row.
1 Like
According to your answer
Add a try
If the IP is disconnected, it will not find the place to enter the account
It will get stuck and will not start from the next column in EXCEL
Hi @adoration50
No, it should work because part to open chrome and enter ip acct and per is all in a loop.
Could you please show the selector of that type into activity?
Looks like there may be hard coded value in it which might be blocking its execution.
Also, run process in debug mode, can you see the text box opened in the screen?
I put them all in the same try, but if there is a disconnected website, it will not be visible, so I don’t do the next action and go directly to the next column in EXCEL
Kindly ensure that the bot isn’t running in debugging mode, as it may cause the process to hang or get stuck.
Also, if you found my solution helpful you can mark it as solution
system
(system)
Closed
July 26, 2025, 12:25pm
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.