Dynamic click and dynamic entry in excel

Hello Team,

I have similar condition like in screenshot, due to some reason the case cannot be deleted and bot check for the next case along with status update in excel.
Note:- Cannot use data table because I am using normal flow chart.

As of now its working good but today I seen there is something in 1st case it is not delete so bot should jump to 2nd case automatically and if 2nd also have issue then jump to 3rd one.

How can we do it? pls assist.

Actual flow diagram

Flowchart Design in UiPath:

  1. Create a List of Cases (or use an array): Even though you’re not using DataTables, you can use a List(Of String) to hold the cases that need to be processed.
  2. For Each Case: You’ll loop through each case in the list using a For Each activity.
  3. Try-Catch for Case Processing:
  • Inside the For Each, add a Try-Catch activity where you attempt to process the case (such as deletion).
  • If an error occurs (case deletion fails), handle it in the Catch block and set a variable (caseProcessed = False).
  1. Flow Decision to Skip to Next Case: After the Try-Catch, use a Flow Decision to check whether the case was successfully processed. If it was not (caseProcessed = False), the bot will jump to the next case.
  2. Excel Update: After processing each case, update the Excel file with the status. If the case was skipped or failed, record that in the Excel file.

@Shakib

Check the selectors

Main thing is how bot jump to next case? Once case deleted then that case will not appear on that table.

Your logic is correct, we need store exception cases in excel data or list. Once bot process that case then it check that case in list if that case exist then bot click next case.

I think here we need to modify in selectors