Robotiq
Robotiq

June 18, 2020

Exception handling

autor

Ena Martinek

When the process is done manually, most of the time employees can recognize errors in the process but what about the robots? What will the robot do in those situations?

For those cases, we have developed the Exception handling section for every process. We are aware of different process needs so our exception handles don't have only a few generic exceptions, the exception handling is part of the process that is completely custom made by developers based on the process needs. The exception handling section of the process will be executed only if errors occur.

Exception handling allows you to gracefully exit the process in case of error. What is typically done is that we send an email notification to the responsible person or team, log the error and close all the open applications used in the process. When the error occurs you want the robots to clean after themselves and leave the robot machine in a consistent situation. We do this because when the next process starts on the machine that there are no leftovers from the previous execution.

In each exception handling section, beside the variables that are used in the process, you will have special generic variables with values of specific error as:

ErrorTimestamp-Time of the error
ProcessName -name of the process
StepNameWhereTheErrorHappened -The step name where the error appears. Each step can be named differently so you will know exactly the step where is the error located in the process
ApplicationScreenshot- Screenshot of the window when the error appeared
RobotName -Name of the robot that executes that process
ExceptionMessage- Exception message
CustomErrorMessage- the message you can define for each step differently.

Because of variables “StepNameWhereTheErrorHappened” and “CustomErrorMessage”, exception handling section can have multiple flows, depending on the error type. Thereby, you can predict some errors and create exceptions especially for them.

Picture 1: example of Exception Handling sectorPicture 1: example of Exception Handling sector


If you need the same exception handling for more then one process, you can create an external procedure for handling errors and execute it in the exception handling sector.
Thank you for leaving a message!
Other posts
  • Procedures

    autor

    Ena Martinek

    kalendar

    July 21, 2020

    Based on consulting experience, we have developed a feature called procedures to help you manage big projects without copying the same code in multiple...

  • RPA Developer and Business Analyst – do we need both?

    autor

    Darko Jovišić

    kalendar

    June 16, 2020

    Very often in RPA team blueprints you will find two roles among others: RPA Developer and Business Analyst. In a nutshell, business analyst should talk to the...