Exception handling in Flow chart

Hi Friends,

I am working on project where I have created this flow chart and I have used only sequence not invoke anything. I created all global variable here hence I can access anywhere.

Query is-

  1. If any exception occurs in Processing, I don’t want to stop bot. It will login again and do the same process.
  2. Where to place outlook activity once bot finished.
  3. Any exception in any sequence then kill browser and login.

Can anyone suggest me what and where I need to implement hence my bot will work fine.

Put this workflow logic in try catch. In catch assign the exception to a variable and after catch add Flow decision activity with this condition exceptionvariable isnot nothing to flow to login if any exception else continue flow to Save in Excel

Depends on the state of the flow where you will have data to confirm if there is no further data to process. For example, if Click Dashboard logic will check if anything to process remaining or not you can place email sending logic here or create another sequence for this.

Add kill browser logic in Login so whenever your control will flow to Login it will kill the browser and login.

Wouldnt using a transaction model solve this such as the REFramework?

Thanks @ashokkarale

I will try and will update you.

This is what you are saying @ashokkarale ?

I need to create assign variable in TRYCatch Exception, right?

No @Jon_Smith . This is only click links and pages is more than 20k so can’t extract it.

Yes @Jeeru_venkat_Rao, that’s right

That still fits within a transactional model in my opinion.

If you work without a framework, be that REFramework or others, then you’ll get stuck on things like error handling as you have to build them custom.

Then please suggest me how I can use Reframwork here.
That would be great help.

By using a transactional model with built in error handling and the ability to log in again after a fail and being able to pick up where it left off.