How to continues process after program after fail by try catch scope?

I need something to re-run all of process again after something happened by try catch

here is my code and the red line is I expecting for something for solve this problem.

Thanks,
Rugpong

@lovepong66 Do you want to run it for other cases?

@lovepong66 According to your arrow you can use Retry method, But Retry will work in exception and it will retry your current scenario/transaction.
If you want to continue with next transaction then you will use flowchart and you will put if condition to handle this thing

In main sequence I have a some process for working with excel
example concept will be like this

image

read excel file then read line by line (for each row)

then after completed per each row ‘status’ will be updated
like this

image

and then imagine if need today bot have many records to do

as you know sometime we found error happened on our bot that why we use try catch
concept for send mail notification, update data or etc,.

example in second row bot still on going and something happened and then stop working … and stop process at catch by try catch in ‘Default case’

I have a bit of code for update data in ‘status’ column to ‘fails’ like this

image

my goal is if something error and its case is ‘by default’ then I need it to re-run from top again (Don’t worry about it will do the ‘completed’ record again because I had a filtered it out already)

Then It will do only some records that belong ‘status’ column is equal " " (empty)

For make it clear for why I asking for this because I need bot working with all records till it done and I don’t concerns about ‘fails’ stamp on ‘status’ column. Just continues to working with all records is better.

I’m a newbie in RPA so big thank if someone make a simple example for me I think it better for someone who interesting in RPA more than just typing

" Sometime pictures made you clear "

Thanks,
Rugpong

Hi @lovepong66

Try to create the work flow in Re-FrameWork and you can achieve your requirement.

Hope it works!!

I understand this case is no problem in RE Framework but for this project isn’t ready for that. Due to some of code inside main and I don’t prefer to use Framework for now.